0
The code goes like this:
<form name="frm1" action="#" method="post">
<option id="pacote1" class="form-control">Pacote</option>
<option id="pacote2" class="form-control">Pacote 2</option>
<select name="pacote" class="form-control">
<option value="1">Pacote Primario</option>"
I’d like to insert something into option
, where I select the option
of id="pacote1"
, will call the select
"pacote"
for the form, and if I select the 2
, will call the new Lect2 with the content for the form.
Are two
<select>
, the second depends on the first?– Woss
This, the <select> depends on the first <option>, but it has to be outside the form, it can only appear when selected because of the function within php
– Inative
@Cmte-cardinal you removed the PHP tag from the question, but kept Java? I didn’t get it.
– Woss
<option id="pacote1" class="form-control">Package</option> <option id="pacote2" class="form-control">Package 2</option> , but why are you using it this way? Your question’s a little fuzzy..
– Marcos Vinicius Leão