3
I have a <select>
and I need to know which <option>
was selected.
<select class="formacao">
<option>Ensino fundamental incompleto</option>
<option>Ensino fundamental completo</option>
<option>Ensino médio incompleto</option>
<option>Ensino médio completo</option>
<option>Ensino Superior</option>
</select>
I tried to solve here but jQuery just returns me the value of the first option.
I need to know when the "Higher Education" option is selected
Correcting there "But the jQuery"
– Mike
Possible duplicate: http://answall.com/questions/95778/pega-select-selected%C3%B3-est%C3%A1-catching-first-value
– Gabriel Rodrigues