Results 1 to 2 of 2

Thread: adding options 2 issues

  1. #1
    Join Date
    Sep 2011

    adding options 2 issues

    Hi, I'm new to javascript. I'm trying to play around with a snippet that was posted on this site in the javascript forms section. It's called adding options 2 (http://javascript.internet.com/forms...options-2.html)

    I was easily able to get the form working on my localhost. But, When I try to change the names of the options in the select list, they don't work. What I have done is changed "item 1" on the provided html form as well as "option 1" in the addingOptions.js script. They both have exactly the same names as I had copied and pasted, then checked about 2,000 times. For some reason, once I do that; the item no longer displays the subitems below when it is clicked.

    This doesn't make sense to me because I cannot find any reason in the .js file why this would happen. Like I said, I'm totally new to JS and need help either understanding or fixing this.

    Could anybody please either explain to me why this doesn't work or point me in a direction that will make it work?

    A thousand thanks.

  2. #2
    Join Date
    Dec 2005
    post the code you are using that is not working for you

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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