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 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Aug 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Multiple options

    I have a problem creating multiple options in JavaScript.

    Here is the scenerio:

    I have 2 lists with 3 options each that users can select. On the first list they can either select from the dropdown menu or click on 1 of 3 images.

    Then, they select from the second list with another 3 options and corresponding images. (You can only select options from this list once the first list of options is selected)

    After the final selection you click a button and it will take you to new page depending on what options you selected. A total of 9 variables.

    The problem:

    The user is able to click either the image or dropdown from the first list, but the second list only allows you to select from the dropdown menu. If you click the image it will clear out the 2 options list.

    Does anyone have a basic "fill in the blanks" code for this scenerio?

  • #2
    New Coder
    Join Date
    Oct 2007
    Location
    Washington
    Posts
    86
    Thanks
    3
    Thanked 2 Times in 2 Posts
    "The one closer to the truth is the one still learning"

  • #3
    New to the CF scene
    Join Date
    Aug 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks, but I'm looking for something that allows the user to click an image that will fill in the dropdown menu selection. And be able to do this twice on one page.

  • #4
    Senior Coder rangana's Avatar
    Join Date
    Feb 2008
    Location
    Cebu City, Philippines
    Posts
    1,752
    Thanks
    65
    Thanked 372 Times in 365 Posts
    Show us your attempt. The link from edavis5451should have been a good reference.
    Learn how to javascript at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph


  •  

    Tags for this Thread

    Posting Permissions

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