PDA

View Full Version : Dynamic menu update


krisbrowne42
06-26-2002, 03:38 PM
I think this is the right place to post this....

I have been using a combination of PHP and Javascript to add to the program PHProjekt for my workgroup's use. The PHP seems to work fine, but the javascript I've got it creating only appears to fully function in IE 5.0+ for Mac, not IE for windows, not Mozilla/NS.

The problem I'm having is having a change to the first pull-down menu force the second menu to change it's contents. It works beautifully on the one browser, but we have PC users who need to use this as well.

I have a copy of the created page here (http://homepage.mac.com/krisbrowne42/timetrack.php) . Any suggestions on how I can adjust this to make it work in other browsers will be greatly appreciated!

requestcode
06-26-2002, 06:06 PM
One problem I see is that you have a function name the same as one of your select names - milestone. JavaScript does not like that.

krisbrowne42
06-26-2002, 06:22 PM
You have just saved my life. Thanks!!

I adjusted the function name from milestone() to milestoneupdate(), and suddenly everything worked.... On all the platforms I've tried. :)

You know, I've been working on this for 2 weeks, trying different things in code, looking in forums all over, and I couldn't find that tidbit anywhere...