• support@answerspoint.com

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

1807

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 8 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 8 years ago
  • Sandy Hook

Your Answer

    Facebook Share        
       
  • asked 9 years ago
  • viewed 1807 times
  • active 9 years ago

Best Rated Questions