<select id="my-select">
<option value="1">This is one</option>
<option value="2" selected>This is two</option>
...
</select>
Is there a way to get the text value of the selected parameter?
$('#my-select').val();
gives me 2, I want to get this instead of two.
How?
source
share