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 Solution

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