• support@answerspoint.com

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

473

How can I get an ASP drop-down list selected text in jQuery, not using the selected value?

2Answer


0
$("#yourdropdownid option:selected").text();
  • answered 2 years ago
  • Sunny Solu

0

Try this:

$("#myselect :selected").text();

For an ASP.NET dropdown you can use the following selector:

$("[id*='MyDropDownId'] :selected")
  • answered 2 years ago
  • Sandy Hook

Your Answer

    Facebook Share