js
1 2 3 |
element = document.getElementById("brone_operators_id"); result = element.options[element.selectedIndex].text; console.log(result); |
jQuery
1 2 |
result = $("select#brone_operators_id option:selected").text(); console.log(result); |