Page 1 of 1
Dynamic Drop Down Menu
Posted: Thu Jun 27, 2002 2:04 am
by ace2600
I am making a search query which ask you to choose a state from a drop down menu and then I want only counties from that state to be options in the next drop down menu, also on the same page. How would I do this with out the user having to press submit after selecting the state. Any and all help is appreciated!
-Ace
Posted: Thu Jun 27, 2002 2:09 am
by twigletmac
Please read this:
http://www.devnetwork.net/forums/viewtopic.php?t=1030
Note point 2, basically the page has to be refreshed for PHP to generate the second drop down list.
Mac
Posted: Thu Jun 27, 2002 4:27 am
by ace2600
Thanks. I knew it was server side but I was hoping someone had a clever hack to get around this, maybe a hidden submit or something (wishful thinking). If anyone knows how to make dependent/dynamic select menus in java please tell me.
-Ace
Posted: Thu Jun 27, 2002 4:31 am
by twigletmac
I think you mean javascript, not java. Try somewhere like
http://www.hotscripts.com they might have what you're looking for.
http://www.hotscripts.com/JavaScript/Sc ... ams/Forms/
Mac
Posted: Thu Jun 27, 2002 1:49 pm
by ace2600
Thanks again, the site helped. I did mean javascript, your right. It was 3:30am when I was writing that.