M
Mullin
hi,
i want to dynamically show the HTML control based on the combo box
value. Say, by default, it will show A and B. if select "Show A", only
A's will be shown, B's will be hidden, and vice and verse.
any ideas how to implement so?
thanks!
here's pseudo coding:
<select name="choice">
<option value="1">Show A</option>
<option value="2">Show B</option>
<option value="0" selected>Show A and B</option>
</select>
......
......
<table>
....
....
<tr>
Show A with HTML code
</tr>
....
....
<tr>
Show B with HTML code
</tr>
....
....
</table>
i want to dynamically show the HTML control based on the combo box
value. Say, by default, it will show A and B. if select "Show A", only
A's will be shown, B's will be hidden, and vice and verse.
any ideas how to implement so?
thanks!
here's pseudo coding:
<select name="choice">
<option value="1">Show A</option>
<option value="2">Show B</option>
<option value="0" selected>Show A and B</option>
</select>
......
......
<table>
....
....
<tr>
Show A with HTML code
</tr>
....
....
<tr>
Show B with HTML code
</tr>
....
....
</table>