[jQuery] Getting the Display Value of a Select Box
I am dynamically generating several single selects and the options
within them.
I know how to get the value of the option which is selected for each
select. What I would like to be able to do is get the display value
for that option.
So, my select might look something like this:
<select id="my_select">
<option value="1">Option 1</option>
<option value="2">Option 2</option>
</select>
Is there a way to get "Option 1" or "Option 2" if selected? I know how
to get "1" or "2" just fine.
Thanks,
Alex