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

haddar picture haddar · Oct 29, 2009 · Viewed 2.1M times · Source

How can I get the selected text (not the selected value) from a drop-down list in jQuery?

Answer

rahul picture rahul · Oct 29, 2009
$("#yourdropdownid option:selected").text();