General discussion


Dynamic dropdown menus

By QTX ·
I am trying to build dynamic dropdown menus with Javascript. There are supposed to be 3 menu boxes. After the 1st one is chosen, the 2nd one is dynamically populated based on the 1st choice, and then the 3rd one is based on the 2nd choide. I know how to do this by hard coding the menu choices. Could someone show me a similar example where the menu choices are pulled from a database table using ColdFusion, please?

Thanks in advance!

Tracy Xia

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by reitzen In reply to Dynamic dropdown menus

This link will take you to a custom tag that is available on Macromedia's Exchange. I have not used this one but I use the "TwoSelectsRelated" all over my intranet site.

If you have a lot of menu options, this option may be a bit slow for page load and to change the menu options. Another option is to submit a form each time the user makes a selection from a drop down. Reply if you want to try this option and I'll post some sample code.


Collapse -

by aleco In reply to Dynamic dropdown menus

Hi Tracy!

Take a look on this site:
I'm using it and very glad with it.


Back to Web Development Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums