0
Hello.
I have a select
<div class="seletor">
<select name="numeros" id="numeros">
<option value="1" selected="selected">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
</select>
<span class="custom-select">1</span>
</div>
And I wanted to know how to select another value using jQuery?
Could explain better?
– Rafael Augusto
So in this select this selects option 1 right? And I need to select another option using jQuery. I tried $("#numbers"). val("1"); but it did not work
– usuario
I put in the answer, see if it’s what you need :D
– Rafael Augusto