Js gets the text sample code for the option selected by select


javascript


var item = document.getElementById("");
var text = item.options[item.selectedIndex].text;

jQuery


var text = $("#selector")[0].options[$("#selector")[0].selectedIndex].text