Answers for "get text of select option jquery selectpicker"

7

get select option selected text jquery

$("#city_id option:selected").text();
Posted by: Guest on February-02-2022
2

jquery select option by text

$("#myDropdown option:contains(Option 2)").attr('selected', 'selected');
Posted by: Guest on June-16-2020

Code answers related to "get text of select option jquery selectpicker"

Code answers related to "Javascript"

Browse Popular Code Answers by Language