how to get drop down selected text in jQuery
how to get drop down selected text in jQuery
1097
18-Jun-2018
Prakash nidhi Verma
18-Jun-2018Jquery dropdown for text :
Here is the code for DropDownList control in ASP.NET :
Following JQuery code snippet will give you selected choice name from the above DropDownList control.
Sytax :
var country = $("#DropDownList1 option:selected").text();Ex: In HTML/Jscipt :
Select color:
Happy Coding :)