Tiny plugin accomodates cascading data in response to page events. Canonical usage is cascading select lists pulling data from either client-side or server-side requests based on current form state (i.e., select value).
This plugin, however, will accept any event to trigger the cascade into any element type and you can chain as many lists together as you need and each can have distinct datasources.
Using the (optional) templating plugin this can simply encapsulate how data is presented in response to user input.
See the demo in the package for usage examples.

转载请注明:代码家园 » cascade