How To: jQuery - Get selected text from a select element

To get the selected option from a select element, use the :selected selector.

Syntax

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

Example

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License