...

View Full Version : Form with visible/hidden options?



gerb
05-23-2006, 04:11 PM
Hi,

I want to use a jump menu in my form. Depending on what is selected, I want another jump menu to 'appear' (having previously been hidden), with options relating to the selection made in jump menu one. Is this done with layers?

Can someone point me in the right direction as to how to do this?

Thanks,

Russell

arnyinc
05-23-2006, 05:02 PM
This would be a good application for AJAX.

What is the scope of your dropdowns? How many options do you have and how many nested dropdowns do you want to spawn?

Beagle
05-23-2006, 09:08 PM
gerb:

HTMLElement.style.display = "none";
HTMLElement.style.display = "";

Learn stuff about CSS visibility and using javascript to dynamically change style attributes.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum