Showing 179 scripts

Sort by name or size

Element#delegate

Element#delegate

Event delegation is an alternative to attaching lots of event handlers or reattaching event handlers when content changes. An observer is placed on a parent element and all child elements fire handlers according to the given rules they match. This script provides Element#delegate and Element#stopDelegating functions. For more information on event delegation, see http://cherny.com/webdev/70/javascript-event-delegation-and-event-hanlde...
Website:
Element#delegate
Author:
Ken Snyder
Size:
2.3 KB
Last modified:
08/27/2008
License:
Creative Commons Attribution License v3.0
Tags:
delegation, event
Rating:
4
(4/5 from 3 votes)
Your rating:
Please sign in or register to rate this script
Select multiple tags with Ctrl+click (Cmd+click on Mac)

Found a bug or have a suggestion?Let us know

bitsonnet corp · © 2007-2014 · all rights reserved

Sign In / Register / Forgot password