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

domdrop-down-menujavascriptjqueryjquery-selectors

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

Best Answer

$("#yourdropdownid option:selected").text();