<?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: How To: jQuery Event Delegation</title>
	<atom:link href="http://getrentwiz.com/blog/how-to-jquery-event-delegation/feed/" rel="self" type="application/rss+xml" />
	<link>http://getrentwiz.com/blog/how-to-jquery-event-delegation/</link>
	<description>Rental Listings Made Easy.</description>
	<lastBuildDate>Fri, 29 Jan 2010 23:28:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Art Armstrong</title>
		<link>http://getrentwiz.com/blog/how-to-jquery-event-delegation/comment-page-1/#comment-949</link>
		<dc:creator>Art Armstrong</dc:creator>
		<pubDate>Tue, 08 Sep 2009 15:37:32 +0000</pubDate>
		<guid isPermaLink="false">http://getrentwiz.com/blog/?p=57#comment-949</guid>
		<description>Thanks Narkohn! I have also been using jQuery Listen as a replacement for this technique which I would highly recommend. You should check that out also.</description>
		<content:encoded><![CDATA[<p>Thanks Narkohn! I have also been using jQuery Listen as a replacement for this technique which I would highly recommend. You should check that out also.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Narkohn</title>
		<link>http://getrentwiz.com/blog/how-to-jquery-event-delegation/comment-page-1/#comment-946</link>
		<dc:creator>Narkohn</dc:creator>
		<pubDate>Tue, 08 Sep 2009 12:30:15 +0000</pubDate>
		<guid isPermaLink="false">http://getrentwiz.com/blog/?p=57#comment-946</guid>
		<description>Today, while working on a big project, I recognized, that the &lt;strong&gt; jQuery-liveevent was very slow&lt;/strong&gt; on Internet Explorer 6 and 8.

So I&#039;m very glad I found this article.</description>
		<content:encoded><![CDATA[<p>Today, while working on a big project, I recognized, that the <strong> jQuery-liveevent was very slow</strong> on Internet Explorer 6 and 8.</p>
<p>So I&#8217;m very glad I found this article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: art</title>
		<link>http://getrentwiz.com/blog/how-to-jquery-event-delegation/comment-page-1/#comment-26</link>
		<dc:creator>art</dc:creator>
		<pubDate>Tue, 28 Apr 2009 04:38:02 +0000</pubDate>
		<guid isPermaLink="false">http://getrentwiz.com/blog/?p=57#comment-26</guid>
		<description>Thanks lo and fred...

Lo: actually I had seen it but when I was building it I was developing in 1.2.x so I was using some basic traversing, I am looking to use that function when I got through and troubleshoot on the upgrade.

Fred: Thanks for the minimized/shortened version.</description>
		<content:encoded><![CDATA[<p>Thanks lo and fred&#8230;</p>
<p>Lo: actually I had seen it but when I was building it I was developing in 1.2.x so I was using some basic traversing, I am looking to use that function when I got through and troubleshoot on the upgrade.</p>
<p>Fred: Thanks for the minimized/shortened version.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fred</title>
		<link>http://getrentwiz.com/blog/how-to-jquery-event-delegation/comment-page-1/#comment-25</link>
		<dc:creator>fred</dc:creator>
		<pubDate>Tue, 28 Apr 2009 04:08:01 +0000</pubDate>
		<guid isPermaLink="false">http://getrentwiz.com/blog/?p=57#comment-25</guid>
		<description>// Shorter and minimized
$(&#039;#applications&#039;).click(function(e){
var t=$(e.target),c=t.attr(&#039;class&#039;),box=&#039;.edit-listings-box&#039;,h=&#039;blind&#039;,f;
if(c==&#039;edit-link&#039;&#124;&#124;c==&#039;pdf-icon&#039;)t.parent().next().contents().filter(box).toggle(h);
else if(c==&#039;delete-icon&#039;){f=t.parent().next().contents().filter(box);if(f.is(&#039;:visible&#039;))f.hide(h);}
else if(c==&#039;done-link&#039;)t.parent().parent().parent().parent().toggle(h);
else if(c==&#039;update-link&#039;)t.parent().parent().parent().parent().parent().submit();
return false;
});</description>
		<content:encoded><![CDATA[<p>// Shorter and minimized<br />
$(&#8216;#applications&#8217;).click(function(e){<br />
var t=$(e.target),c=t.attr(&#8216;class&#8217;),box=&#8217;.edit-listings-box&#8217;,h=&#8217;blind&#8217;,f;<br />
if(c==&#8217;edit-link&#8217;||c==&#8217;pdf-icon&#8217;)t.parent().next().contents().filter(box).toggle(h);<br />
else if(c==&#8217;delete-icon&#8217;){f=t.parent().next().contents().filter(box);if(f.is(&#8216;:visible&#8217;))f.hide(h);}<br />
else if(c==&#8217;done-link&#8217;)t.parent().parent().parent().parent().toggle(h);<br />
else if(c==&#8217;update-link&#8217;)t.parent().parent().parent().parent().parent().submit();<br />
return false;<br />
});</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lo</title>
		<link>http://getrentwiz.com/blog/how-to-jquery-event-delegation/comment-page-1/#comment-24</link>
		<dc:creator>lo</dc:creator>
		<pubDate>Mon, 27 Apr 2009 20:27:29 +0000</pubDate>
		<guid isPermaLink="false">http://getrentwiz.com/blog/?p=57#comment-24</guid>
		<description>instead of:
&lt;code&gt;
$(e.target).parent().parent().parent().parent().parent().submit();
&lt;/code&gt;
you should maybe use this  jquery 1.3 feature:
&lt;code&gt;
$(e.target).closest(&quot;your-form&quot;).submit();
&lt;/code&gt;
http://docs.jquery.com/Traversing/closest</description>
		<content:encoded><![CDATA[<p>instead of:<br />
<code><br />
$(e.target).parent().parent().parent().parent().parent().submit();<br />
</code><br />
you should maybe use this  jquery 1.3 feature:<br />
<code><br />
$(e.target).closest("your-form").submit();<br />
</code><br />
<a href="http://docs.jquery.com/Traversing/closest" rel="nofollow">http://docs.jquery.com/Traversing/closest</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: art</title>
		<link>http://getrentwiz.com/blog/how-to-jquery-event-delegation/comment-page-1/#comment-22</link>
		<dc:creator>art</dc:creator>
		<pubDate>Mon, 27 Apr 2009 17:27:33 +0000</pubDate>
		<guid isPermaLink="false">http://getrentwiz.com/blog/?p=57#comment-22</guid>
		<description>Thanks a lot bro. When I was working on this I did find one thing out with event delegation that does not work. If you use something like...

&lt;pre&gt;
$(&#039;#applications a&#039;).click(function (e) {
&lt;/pre&gt;

to reference on the &#039;a&#039; tags in the section it will not work, you have to just use the container and reference all the clicks inside of it with an event. Thanks for the reply!</description>
		<content:encoded><![CDATA[<p>Thanks a lot bro. When I was working on this I did find one thing out with event delegation that does not work. If you use something like&#8230;</p>
<pre>
$('#applications a').click(function (e) {
</pre>
<p>to reference on the &#8216;a&#8217; tags in the section it will not work, you have to just use the container and reference all the clicks inside of it with an event. Thanks for the reply!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cory Wiles</title>
		<link>http://getrentwiz.com/blog/how-to-jquery-event-delegation/comment-page-1/#comment-21</link>
		<dc:creator>Cory Wiles</dc:creator>
		<pubDate>Mon, 27 Apr 2009 17:20:49 +0000</pubDate>
		<guid isPermaLink="false">http://getrentwiz.com/blog/?p=57#comment-21</guid>
		<description>What a great post.  I blogged about something similar...http://corywiles.blogspot.com/2009/04/targeting-nested-lis-with-jquery.html

The event delegation was KEY!!!!!!!!</description>
		<content:encoded><![CDATA[<p>What a great post.  I blogged about something similar&#8230;http://corywiles.blogspot.com/2009/04/targeting-nested-lis-with-jquery.html</p>
<p>The event delegation was KEY!!!!!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: art</title>
		<link>http://getrentwiz.com/blog/how-to-jquery-event-delegation/comment-page-1/#comment-20</link>
		<dc:creator>art</dc:creator>
		<pubDate>Mon, 27 Apr 2009 15:59:02 +0000</pubDate>
		<guid isPermaLink="false">http://getrentwiz.com/blog/?p=57#comment-20</guid>
		<description>Ohhhhhhhhhh, very cool. I hadn&#039;t see that when I was doing my searching around for a method to use. Looks pretty useful. Thanks for the link!</description>
		<content:encoded><![CDATA[<p>Ohhhhhhhhhh, very cool. I hadn&#8217;t see that when I was doing my searching around for a method to use. Looks pretty useful. Thanks for the link!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vsync</title>
		<link>http://getrentwiz.com/blog/how-to-jquery-event-delegation/comment-page-1/#comment-19</link>
		<dc:creator>vsync</dc:creator>
		<pubDate>Mon, 27 Apr 2009 15:32:04 +0000</pubDate>
		<guid isPermaLink="false">http://getrentwiz.com/blog/?p=57#comment-19</guid>
		<description>whats happening dude?? you wrote all this ? :)
didn&#039;t you heard of the new Live() event method ?

http://docs.jquery.com/Events/live#typefn

peace man..</description>
		<content:encoded><![CDATA[<p>whats happening dude?? you wrote all this ? <img src='http://getrentwiz.com/blog/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
didn&#8217;t you heard of the new Live() event method ?</p>
<p><a href="http://docs.jquery.com/Events/live#typefn" rel="nofollow">http://docs.jquery.com/Events/live#typefn</a></p>
<p>peace man..</p>
]]></content:encoded>
	</item>
</channel>
</rss>
