<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom"><title>Simon Willison's Weblog: eventdelegation</title><link href="http://simonwillison.net/" rel="alternate"/><link href="http://simonwillison.net/tags/eventdelegation.atom" rel="self"/><id>http://simonwillison.net/</id><updated>2009-01-12T22:21:16+00:00</updated><author><name>Simon Willison</name></author><entry><title>A Snapshot of The Yahoo! Photos Beta (from 2006)</title><link href="https://simonwillison.net/2009/Jan/12/snapshot/#atom-tag" rel="alternate"/><published>2009-01-12T22:21:16+00:00</published><updated>2009-01-12T22:21:16+00:00</updated><id>https://simonwillison.net/2009/Jan/12/snapshot/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://www.schillmania.com/content/entries/2009/yahoo-photos-frontend-thoughts/"&gt;A Snapshot of The Yahoo! Photos Beta (from 2006)&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Scott Schiller shares an internal retrospective on the Yahoo! Photos interface from 2006, which was years ahead of its time (they started building it before the term Ajax had even been coined). The material on memory management and event delegation is particularly interesting.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/ajax"&gt;ajax&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/eventdelegation"&gt;eventdelegation&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/javascript"&gt;javascript&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/scott-schiller"&gt;scott-schiller&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/yahoo"&gt;yahoo&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/yahoo-photos"&gt;yahoo-photos&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/yui"&gt;yui&lt;/a&gt;&lt;/p&gt;



</summary><category term="ajax"/><category term="eventdelegation"/><category term="javascript"/><category term="scott-schiller"/><category term="yahoo"/><category term="yahoo-photos"/><category term="yui"/></entry><entry><title>Event Delegation Made Easy</title><link href="https://simonwillison.net/2008/Feb/10/danwebbnet/#atom-tag" rel="alternate"/><published>2008-02-10T15:13:38+00:00</published><updated>2008-02-10T15:13:38+00:00</updated><id>https://simonwillison.net/2008/Feb/10/danwebbnet/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://www.danwebb.net/2008/2/8/event-delegation-made-easy-in-jquery"&gt;Event Delegation Made Easy&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
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.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/dan-webb"&gt;dan-webb&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/delegation"&gt;delegation&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/eventdelegation"&gt;eventdelegation&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/javascript"&gt;javascript&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/jquery"&gt;jquery&lt;/a&gt;&lt;/p&gt;



</summary><category term="dan-webb"/><category term="delegation"/><category term="eventdelegation"/><category term="javascript"/><category term="jquery"/></entry></feed>