get selected value of dropdown in cshtml code example
Example 1: TEXTMESHPRO GET SELECTED ITEM FROM DROPDOWN
Debug.Log(Dropdown.options[Dropdown.value].text);
Example 2: selected dropdown value
Plain JavaScript:
===================
var e = document.getElementById("elementId");
var value = e.options[e.selectedIndex].value;
var text = e.options[e.selectedIndex].text;
---------------------------------------------------------
jQuery:
=======
$("#elementId :selected").text();
$("#elementId :selected").val();