List box which is populated by selecting from another
Moderator: General Moderators
List box which is populated by selecting from another
I've got a database table with categories and subcategories. I want users to select a category from a listbox then a second listbox will be populated with all the related subcategories. How do I go about this? I know how to populate the first listbox from the table.
- CoderGoblin
- DevNet Resident
- Posts: 1425
- Joined: Tue Mar 16, 2004 10:03 am
- Location: Aachen, Germany
Dynamic/Chained Selects using Ajax Prototype/JQuery has a couple of solutions although you will have to figure out the database retrieval.