• support@answerspoint.com

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

1723

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 8 years ago
  • viewed 1723 times
  • active 8 years ago

Best Rated Questions