Answers for "jquery get all unselected options"

3

remove all options from select jquery

$('#mySelect')
    .empty()
Posted by: Guest on March-18-2020
2

jquery get all select options

//looping through options select with jQuery
$("#mySelectID option").each(function(){
    var thisOptionValue=$(this).val();
});
Posted by: Guest on August-05-2019

Code answers related to "jquery get all unselected options"

Code answers related to "Javascript"

Browse Popular Code Answers by Language