Simon Willison’s Weblog

Items tagged jquery, delegation in Feb, 2008

Filters: Year: 2008 × Month: Feb × jquery × delegation ×


Event Delegation Made Easy. Dan Webb demonstrates a neat trick for event delegation in jQuery, using CSS selectors and the jQuery .is() method to dispatch to different callbacks from a single event handler based on the target of the event. # 10th February 2008, 3:13 pm

Types

Years

Months

Tags