Zado
asked on
Dropdown list with subcategories
Hello Experts!
Do you know any script for do this:
1. you have for example 5 dropdown lists and just first one active
2. you choose an option from first list, and then second list activates (with options related to the selection from first list)
3. so each option from first list has different list in second option
...and same rule for other options.
For now I use mysql and very unflexible script for that, and it's quite work consuming to change anything.
Thank you for any help.
Do you know any script for do this:
1. you have for example 5 dropdown lists and just first one active
2. you choose an option from first list, and then second list activates (with options related to the selection from first list)
3. so each option from first list has different list in second option
...and same rule for other options.
For now I use mysql and very unflexible script for that, and it's quite work consuming to change anything.
Thank you for any help.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Yes, I'm using this one currently ;-) And you have to change database records (create new tables etc) to add more lists, I don't want use database for that.
Thanks for help anyway.
Thanks for help anyway.
What do you want to do?
You will give an array of values in JavaScript? Instead of DataBase ?
You will give an array of values in JavaScript? Instead of DataBase ?
ASKER
Well, I thought about that, but it seems to be a bit silly idea. Eventually I can use the current script, but I can't manage to make 5 dropdown menus instead 3.
What is your problem, you can have any number of AJAX functions and any number of AJAX pages..
Send your code, we will assist you.
Send your code, we will assist you.
ASKER