Jquery die event
.die()
Remove all event handlers previously attached using .live() from the elements.
.die(eventType, [handler])
Remove an event handler previously attached using .live() from the elements.
Returns: jQuery
.die()
Remove all event handlers previously attached using .live() from the elements.
Any handler that has been attached with .live() can be removed with .die(). This method is analogous to calling .unbind() with no arguments, which is used to remove all handlers attached with .bind(). See the discussions of .live() and .unbind() for further details.
Note: In order for .die() to function correctly, the selector used with it must match exactly the selector initially used with .live().
Comments