Log in

View Full Version : drop down problem



shankari
07-17-2007, 10:27 AM
i've 2 drop downs in a single form
i want to select first drop down data using that as an input i've filter the other drop down contents.

tech_support
07-17-2007, 10:29 AM
Please explain the question more clearly.

What do you want to do?
How is this filtered?
What input?
What other drop down contents?

shankari
07-18-2007, 04:46 AM
i've 2 drop downs in a form. first one has names of the artists. when an user selects an artist i've show that particular artist's art works in second drop down.

djr33
07-18-2007, 04:49 AM
http://www.dynamicdrive.com/dynamicindex1/chainedmenu/index.htm

shankari
07-19-2007, 03:26 AM
Thank u very much

But i'm using values from the database i think this won't work for me.
could u help me.

djr33
07-19-2007, 03:54 AM
That will work just fine. Simply generate the javascript from values on the database.

This is the javascript that sets the menu:
http://www.dynamicdrive.com/dynamicindex1/chainedmenu/config.js

You will have a copy of that on your server as well.

Refer to this thread to create a dynamic external javascript:
http://www.dynamicdrive.com/forums/showthread.php?t=21617