hi, i have a optgroup , how to save the values using the jquery? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

hi, i have a optgroup , how to save the values using the jquery?

i have dropdown which consists of dynamic dropdown. i am using optgroup for the dropdown. now how can i save the selected values in the jquery.

26th Jan 2018, 5:47 PM
Bhavani Sankar
Bhavani Sankar - avatar
1 Answer
0
$(selectID).value in case of multiple values, you should get an array instead of normal variable
17th Feb 2018, 3:33 PM
Dominique Abou Samah
Dominique Abou Samah - avatar