F
Fernando V. Jr.
Dear friends,
I have a form in wich there are two check boxes and a combo as shown
bellow:
<form>
<input type="checkbox" name="check1" checked>Tipo 1
<input type="checkbox" name="check2" checked>Tipo 2
<br>
<select name="combo">
<option value="1">item 1</option>
<option value="2">item 2</option>
</select>
</form>
I'd like to change the contents of the combo by changin the selection
in the checkboxes.
I tried putting "onclick" events to be runned by JavaScript so that
some itens would be added at the end of the combo, but it didn't work.
I need to reload the page?
I have a form in wich there are two check boxes and a combo as shown
bellow:
<form>
<input type="checkbox" name="check1" checked>Tipo 1
<input type="checkbox" name="check2" checked>Tipo 2
<br>
<select name="combo">
<option value="1">item 1</option>
<option value="2">item 2</option>
</select>
</form>
I'd like to change the contents of the combo by changin the selection
in the checkboxes.
I tried putting "onclick" events to be runned by JavaScript so that
some itens would be added at the end of the combo, but it didn't work.
I need to reload the page?