modifying pull-down menus

D

drblitzkrieg

Hi, I have a page with 2 drop-down menus. The task is, when you select
1 menu, your selection then changes the options available in the
other. This data happens to be drawn from a mysql database, so I
wouldn't think that it could be done purely in Javascript, but rather
a combination of PHP generating some JS code. Thing is, I don't even
see how to change a menu's available options with JavaScript, only
names and values of individual fields.

Any hints and links appreciated.

Thanks.
 
A

ASM

(e-mail address removed) a écrit :
Hi, I have a page with 2 drop-down menus. The task is, when you select
1 menu, your selection then changes the options available in the
other.
http://stephane.moriaux.perso.wanadoo.fr/truc/selects.htm

This data happens to be drawn from a mysql database, so I
wouldn't think that it could be done purely in Javascript, but rather
a combination of PHP generating some JS code. Thing is, I don't even
see how to change a menu's available options with JavaScript, only
names and values of individual fields.

or complete list of options of select(or)
 
D

drblitzkrieg

Tre bien! That French site did the trick. You just saved me in time
for a Japanese company's deadline, my friend. Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top