<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: JavaScript: Event Delegation</title>
	<atom:link href="http://yelotofu.com/2008/08/javascript-event-delegation/feed/" rel="self" type="application/rss+xml" />
	<link>http://yelotofu.com/2008/08/javascript-event-delegation/</link>
	<description>"In building standards compliant sites we are creating a better Web for the future."</description>
	<lastBuildDate>Thu, 11 Mar 2010 17:53:20 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: caphun</title>
		<link>http://yelotofu.com/2008/08/javascript-event-delegation/comment-page-1/#comment-2490</link>
		<dc:creator>caphun</dc:creator>
		<pubDate>Thu, 04 Sep 2008 07:41:45 +0000</pubDate>
		<guid isPermaLink="false">http://yelotofu.com/?p=95#comment-2490</guid>
		<description>Thanks Oscar. Well spotted! I have updated the example.

Note: my example is checking for a &lt;button&gt; not class=&quot;button&quot; :)</description>
		<content:encoded><![CDATA[<p>Thanks Oscar. Well spotted! I have updated the example.</p>
<p>Note: my example is checking for a &lt;button&gt; not class=&#8221;button&#8221; <img src='http://yelotofu.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oscar</title>
		<link>http://yelotofu.com/2008/08/javascript-event-delegation/comment-page-1/#comment-2485</link>
		<dc:creator>Oscar</dc:creator>
		<pubDate>Thu, 04 Sep 2008 05:02:58 +0000</pubDate>
		<guid isPermaLink="false">http://yelotofu.com/?p=95#comment-2485</guid>
		<description>Hi, very interesting your article about event delegation but there are some errors in your example script, it must be like this:

	$(&#039;html&#039;).click(function(e) {
		if ($(e.target).is(&#039;.button&#039;))
			alert(&#039;You clicked on me?&#039;);
	});</description>
		<content:encoded><![CDATA[<p>Hi, very interesting your article about event delegation but there are some errors in your example script, it must be like this:</p>
<p>	$(&#8217;html&#8217;).click(function(e) {<br />
		if ($(e.target).is(&#8217;.button&#8217;))<br />
			alert(&#8217;You clicked on me?&#8217;);<br />
	});</p>
]]></content:encoded>
	</item>
</channel>
</rss>
