Answers for "jquery dropdown select by text"

3

how to get the selected text of dropdown in jquery

BY LOVE
$("#Id option:selected").text()
Posted by: Guest on July-13-2020
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 "jquery dropdown select by text"

Code answers related to "Javascript"

Browse Popular Code Answers by Language