#eventdelegation

3 bookmarks tagged with #eventdelegation · RSS Feed · ← All Tags

Events/live - jQuery JavaScript Library

http://docs.jquery.com/Events/live
"When you bind a "live" event it will bind to all current and future elements on the page (using event delegation). For example if you bound a live click to all "li" elements on the page then added another li at a later time - that click event would continue to work for the new element (this is not the case with bind which must be re-bound on all new elements). "