linkedSelects: Linked Selects
A quick AJAX-based script, that relates two drop-down lists to each other. Useful for the usual country / city combination without having all possible combinations on the page to start with.
Selecting Something in Two Steps
Selecting a category from the first list will fill the second list with further related options.
The second list gets updated, on the fly, using AJAX requests.
Required Files
-
jQuery Addon Script: jquery.classbehaviours.linkedselects.js
- Prerequisite Script: jquery.classbehaviours.js
- Example Markup: linkedSelects.html
- Example Stylesheet: linkedSelects.css
- Example XML: linkedSelects_fruit.xml
Comments on this Article