View Full Version : Form Dependancy Script (Twey's Script)

08-15-2008, 04:29 PM
Hello, all!

Okay, this problem could either be javascript related or HTML related. Maybe a bit of both.

I am using the form dependancy script created by Twey, and it works great. Only problem is, I can't seem to get the SELECTED option working for dropdown menus, which is kind of annoying.

HTML can be found here: www.training4life.org/file.htm

For example, if you click BLS at the top, new dropdown menus appear.

But they're blank.

You have to physically click them and select an item. I would rather that a 'standard' item be automatically selected when they appear.

Like a regular dropdown menu WITHOUT the javascript, you can use the SELECTED option to show which item will show up first on the dropdown (without clicking it), or otherwise the first item will appear first.

For some reason with this script that is no longer true.

Anyone (Twey perhaps?) have any ideas?