Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Dec 2004
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Form with visible/hidden options?

    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

  • #2
    Regular Coder
    Join Date
    Jan 2003
    Posts
    867
    Thanks
    4
    Thanked 8 Times in 8 Posts
    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?
    Last edited by arnyinc; 05-23-2006 at 04:12 PM.

  • #3
    Senior Coder
    Join Date
    Jul 2005
    Location
    New York, NY
    Posts
    1,084
    Thanks
    4
    Thanked 19 Times in 19 Posts
    gerb:

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

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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •