<?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/"
xmlns:series="http://unfoldingneurons.com/"
> <channel><title>Comments on: Event Delegation with&#160;MooTools</title> <atom:link href="http://davidwalsh.name/event-delegation/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/event-delegation</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Thu, 09 Feb 2012 07:54:33 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3</generator> <item><title>By: GarciaWebDev</title><link>http://davidwalsh.name/event-delegation/comment-page-1#comment-27980</link> <dc:creator>GarciaWebDev</dc:creator> <pubDate>Mon, 19 Dec 2011 18:44:53 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3893#comment-27980</guid> <description>Here&#039;s a StackOverflow: http://stackoverflow.com/questions/8565225/mootools-event-delegation-how-to-reference-child-element-inside-callback/8565640#8565640</description> <content:encoded><![CDATA[<p>Here&#8217;s a StackOverflow: <a
href="http://stackoverflow.com/questions/8565225/mootools-event-delegation-how-to-reference-child-element-inside-callback/8565640#8565640" rel="nofollow">http://stackoverflow.com/questions/8565225/mootools-event-delegation-how-to-reference-child-element-inside-callback/8565640#8565640</a></p> ]]></content:encoded> </item> <item><title>By: GarciaWebDev</title><link>http://davidwalsh.name/event-delegation/comment-page-1#comment-27978</link> <dc:creator>GarciaWebDev</dc:creator> <pubDate>Mon, 19 Dec 2011 17:22:32 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3893#comment-27978</guid> <description>Ok, got it:&lt;code&gt;
fireEvent(&#039;change:relay(element)&#039;)
&lt;/code&gt;But I noticed that &lt;code&gt;this&lt;/code&gt; now refers to the parent element... How can I get the child element reference inside the callback?</description> <content:encoded><![CDATA[<p>Ok, got it:</p><p><code><br
/> fireEvent('change:relay(element)')<br
/> </code></p><p>But I noticed that <code>this</code> now refers to the parent element&#8230; How can I get the child element reference inside the callback?</p> ]]></content:encoded> </item> <item><title>By: GarciaWebDev</title><link>http://davidwalsh.name/event-delegation/comment-page-1#comment-27977</link> <dc:creator>GarciaWebDev</dc:creator> <pubDate>Mon, 19 Dec 2011 17:10:55 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3893#comment-27977</guid> <description>And how do you fire that event with fireEvent() ? I can&#039;t get it to work!</description> <content:encoded><![CDATA[<p>And how do you fire that event with fireEvent() ? I can&#8217;t get it to work!</p> ]]></content:encoded> </item> <item><title>By: SamGoody</title><link>http://davidwalsh.name/event-delegation/comment-page-1#comment-27132</link> <dc:creator>SamGoody</dc:creator> <pubDate>Wed, 05 Oct 2011 08:17:30 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3893#comment-27132</guid> <description>Chris&#039;s method is cleaner, more powerful, and more intuitive.
Much more &quot;moootools&quot;.Any reason why it didn&#039;t fly? Delegation is now in the core, at v1.4</description> <content:encoded><![CDATA[<p>Chris&#8217;s method is cleaner, more powerful, and more intuitive.<br
/> Much more &#8220;moootools&#8221;.</p><p>Any reason why it didn&#8217;t fly? Delegation is now in the core, at v1.4</p> ]]></content:encoded> </item> <item><title>By: danicotra</title><link>http://davidwalsh.name/event-delegation/comment-page-1#comment-21292</link> <dc:creator>danicotra</dc:creator> <pubDate>Wed, 10 Nov 2010 22:07:34 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3893#comment-21292</guid> <description>Hey there!
I would like to know w(tf)hat if I need to apply it only to some &lt;a&gt; tags inside parent element but only certain, not everyone? (of course every link has a unique id... but suppose links within parent element are about 50...)</description> <content:encoded><![CDATA[<p>Hey there!<br
/> I would like to know w(tf)hat if I need to apply it only to some <a> tags inside parent element but only certain, not everyone? (of course every link has a unique id&#8230; but suppose links within parent element are about 50&#8230;)</a></p> ]]></content:encoded> </item> <item><title>By: Chris the Developer</title><link>http://davidwalsh.name/event-delegation/comment-page-1#comment-13344</link> <dc:creator>Chris the Developer</dc:creator> <pubDate>Fri, 06 Nov 2009 08:00:08 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3893#comment-13344</guid> <description>@jay - click:relay(input[type=button])</description> <content:encoded><![CDATA[<p>@jay &#8211; click:relay(input[type=button])</p> ]]></content:encoded> </item> <item><title>By: jay</title><link>http://davidwalsh.name/event-delegation/comment-page-1#comment-13306</link> <dc:creator>jay</dc:creator> <pubDate>Thu, 05 Nov 2009 15:38:18 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3893#comment-13306</guid> <description>So... what if you want to do click:relay(  &#039;a specific element, eg an input button - not a submit btn, but an input btn&#039;  )in the above scenario what would &#039;x&#039; be in click:relay(&#039;x&#039;) ?</description> <content:encoded><![CDATA[<p>So&#8230; what if you want to do click:relay(  &#8216;a specific element, eg an input button &#8211; not a submit btn, but an input btn&#8217;  )</p><p>in the above scenario what would &#8216;x&#8217; be in click:relay(&#8216;x&#8217;) ?</p> ]]></content:encoded> </item> <item><title>By: David Walsh</title><link>http://davidwalsh.name/event-delegation/comment-page-1#comment-13140</link> <dc:creator>David Walsh</dc:creator> <pubDate>Mon, 02 Nov 2009 14:45:11 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3893#comment-13140</guid> <description>@Dimitar Christoff: Yes.@Chris the Developer:  Not bad!  I&#039;ll pass this onto the team and see what they have to say!</description> <content:encoded><![CDATA[<p>@Dimitar Christoff: Yes.</p><p>@Chris the Developer:  Not bad!  I&#8217;ll pass this onto the team and see what they have to say!</p> ]]></content:encoded> </item> <item><title>By: Chris the Developer</title><link>http://davidwalsh.name/event-delegation/comment-page-1#comment-13090</link> <dc:creator>Chris the Developer</dc:creator> <pubDate>Fri, 30 Oct 2009 07:52:39 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3893#comment-13090</guid> <description>&lt;&gt;                                                                     .</description> <content:encoded><![CDATA[<p>&lt;&gt;                                                                     .</p> ]]></content:encoded> </item> <item><title>By: Dimitar Christoff</title><link>http://davidwalsh.name/event-delegation/comment-page-1#comment-13000</link> <dc:creator>Dimitar Christoff</dc:creator> <pubDate>Wed, 28 Oct 2009 09:49:37 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3893#comment-13000</guid> <description>is this similar to the infamous .live() in jquery? have you also seen this implementation:http://www.k1der.net/country/mootools/live-events-demo.html</description> <content:encoded><![CDATA[<p>is this similar to the infamous .live() in jquery? have you also seen this implementation:</p><p><a
href="http://www.k1der.net/country/mootools/live-events-demo.html" rel="nofollow">http://www.k1der.net/country/mootools/live-events-demo.html</a></p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 1/18 queries in 0.013 seconds using disk: basic
Object Caching 866/868 objects using disk: basic

Served from: davidwalsh.name @ 2012-02-09 03:42:14 -->
