Get Selected Text From Drop-Down List or Select Box Using JQuery

For More Videos Visit Our YouTube Channel




Here we consider how to get the Selected Text From Drop-Down List Using JQuery. Suppose we have a dropdownlist with some options inside.

Get Selected Text From Drop Down List Select Box Using JQuery, Get Selected Text From Select Box Using JQuery, Selected Text From Select Box In JQuery, Selected Text From Drop Down List In JQuery, Drop Down List Selected Text, Drop Down List Selected Value, Jquery

The above Dropdownlist is having three Values inside. When you click on the Button, the selected Text on the Select Box will get alerted.




For getting the selected Text from SelectBox in jquery, follow these code.

$(function () {
         $('#btnSubmit').click(function () {
                  $("#ddlSelectItem option:selected").text();
                   alert( $("#ddlSelectItem option:selected").text() );
         })
})



That's all, when you click on the Button, the selected Text will get alerted.