kylefox.ca
Submitted by: David Walsh

Live Event Binding with jQuery 1.3

jQuery 1.3 introduced a new feature called live event binding which simplifies attaching event handlers to existing elements as well as future elements. This is very useful because using the older bind() function attaches event-handlers only to those elements that are present in the DOM at the time the event is bound. With live(), you can write your event binding once and have it automatically attached to dynamically inserted elements.

direct link