Answers for "html select on select"

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
1

get text in select jquery

$("#id option:selected").text();
Posted by: Guest on May-01-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language