Hello, my question is to store an id and a value of select and options in a variable.
I have this structure:
<div class="col-sm-6" id="results">
<select class="form-control" id="1">
<option value="true">Sim</option>
<option value="false">Não</option>
</select>
<select class="form-control" id="2">
<option value="true">Sim</option>
<option value="false">Não</option>
</select>
<select class="form-control" id="3">
<option value="true">Sim</option>
<option value="false">Não</option>
</select>
</div>
I need to get the select id and the value of the select option