Tag Archives: jquery get selected option text onchange

jQuery get selected option text


jQuery get selected option text: You can get selected option text in select box as below.


Syntax : jQuery get selected option text

Syntax to get selected option textof dropdown menu can be as :
Suppose we have following drop down list




You can get selected value in jquery as :


$("#demo").change(function () {
$("#demo :selected").text();

});

Try it »