0
How can I make a Radio Button display an Input select for it
Radio x ---> mostrar Select x
Radio y ---> mostrar Select y
<input type="radio" name="x" />
<input type="radio" name="y" />
<select size="1" name="unid" class="form-control">
<option value="">Nª de Passageiros</option>
<option value="01">01</option>
<option value="02">02</option>
<option value="02">03</option>
<option value="04">04</option>
</select>
<select size="1" name="unid" class="form-control">
<option value="">Veiculos</option>
<option value="Sedan">Sedan</option>
<option value="Van">Van</option>
<option value="Micro-Onibus">Micro</option>
<option value="Onibus">Onibus</option>
</select>
Javascript another time wrong tag....
– Fabio Henrique
What is "Select x" and what is "Select y"? Your HTML does not show, improve it or explain in more detail.
– BrunoRB
can be the first select x and the second y
– Fabio Henrique
Okay but I also don’t know what you mean by "show up an Input select for it", show up as? in its html the two "appear", has no hidden with something like a css "display: None", da an edited that the question is very bad.
– BrunoRB
And so. a select this shows it. and another hidden, by clicking on the x radio show select x and hide select y and vice versa.....
– Fabio Henrique