[jQuery] populate/generate selectbox on the fly?
Hello there!
I've already searched for a plugin but I'm afraid that nobody has faced this challenge before. :-(
I have a lot of database entries and I want to make them selectable like so:
The first selectbox shows all available categories. This doesn't require jQuery - it's good old PHP. ;-)
When I select Category A from that selectbox, jQuery should now generate a new selectbox with the list of states in which the companies in the selected category are.
When I select a state it should generate a second selectbox with a list of postal codes in which the companies in the selected state are so that a user can select a nearby company.
CATEGORY (select Category A, it generates a new selectbox)
-> STATE (contains the states of all companies that are listed under Category A, generates a new selectbox containing all postal codes of the companies that are listed in Category A and State X)
--> POSTAL CODE (contains all postal codes of the companies that are listed in Category A and State X, on select it prints out all companies that are listed in Category A and State X,and with the postal code of 123)
I hope you all got my bad example! ;-)
Do you now a good and simple way to do it?
Thanks in advance,
Dominik
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/