|
|
Creating a Double-Combo Linked List with Ajax
|
03/03/2006 By Dave Crane, Eric Pascarello, and Darren James
|
With Ajax we can eliminate that frustration. We can link the selection lists together, and when our user selects the size option from the first list, all of the available colors for that shirt can be populated to the second list directly from the database—without the user having to refresh the whole page. People have been linking two or more selection lists together to perform this action with either hard-coded JavaScript arrays or server-side postbacks, but now with Ajax we have a better way.
In a double-combination linked list, the contents of one selection list are dependent on another selection list's selected option. When the user selects a value from the first list, all of the items in the second list update dynamically. This functionality is typically called a double-combo script.
The Ajax solution
Read Full Tutorial
|
Rate this Ajax Tutorials
Rating: 5.3 out of 4 votes cast
| |
|
|
|
|
|
|
|
|
|
|
|
|