Get selected text from drop-down list (select box) using jQuery

How can I get an ASP drop-down list selected text in jQuery, not using the selected value?
drop-down-menu
Javascript
jQuery
jquery-selector
- asked 9 years ago
- B Butts
2Answer
Try this:
$("#myselect :selected").text();
For an ASP.NET dropdown you can use the following selector:
$("[id*='MyDropDownId'] :selected")
- answered 9 years ago
- Sandy Hook

Your Answer