Hi all. I'm building an ecommerce site for a client and they have want a search function built. NP but they want users to be able to select a list of categories (from a DB) which will then autopopulate a second drop box with subcategories - from a second table in the db. Categories and subcats are related, i.e., only some subcats go to each category and they mix and match.
I have done autopopulating second drop boxes using JS but not with dynamic data - and I don't think my JS skills are up to it.
This is a fairly common function - I just haven't built it before and I'm up against very tight deadlines (2 ecommerce sites in 6 weeks). I'll take a CF or JS solution or a combo if anyone has code to share.
Thanks!
I have done autopopulating second drop boxes using JS but not with dynamic data - and I don't think my JS skills are up to it.
This is a fairly common function - I just haven't built it before and I'm up against very tight deadlines (2 ecommerce sites in 6 weeks). I'll take a CF or JS solution or a combo if anyone has code to share.
Thanks!