how to get drop down selected value in jQuery
how to get drop down selected value in jQuery
1033
18-Jun-2018
Prakash nidhi Verma
18-Jun-2018Drop down value in jQuery :
HTML Markup consists of an HTML Select DropDownList and a Button.
For single select dom elements, to get the currently selected value:
$('#dropDownId').val();$('#dropDownId :selected').text(); // currently selected text
Ex: Select color:
Happy Coding :)