How to dynamically show the HTML based on combobox selected value

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>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,586
Members
45,086
Latest member
ChelseaAmi

Latest Threads

Top