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 only returns the value of the first option.
I need to know when "Higher Education" is selected