jQuery Event Pooling

Monday, 08 December 2008

Just came across this interesting article on jQuery event pooling:

As everyone knows, the more dependencies you have in a system, the harder maintaining that system is. Javascript is no exception- and orchestrating actions across complex user interfaces can be a nightmare if not done properly.

The author notes in the comments that this method works well with the Live Query Plugin which handles the binding (and re-binding) of events to elements that are dynamically added to a page via AJAX or DHTML.