[jQuery] How do you return the index of an option selected
How do you return the index of an option selected:
<select>
<option value="A">a</option><option value="B">b</option><option
value="C">c</option>
</select>
I want to return 0, 1 and 2 when the above optiones are selected