<?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 for jQuery for Designers</title>
	<atom:link href="http://jqueryfordesigners.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://jqueryfordesigners.com</link>
	<description>Tutorials and screencasts</description>
	<lastBuildDate>Thu, 22 Sep 2011 12:58:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Simple use of Event Delegation by MathieuL</title>
		<link>http://jqueryfordesigners.com/simple-use-of-event-delegation/comment-page-1/#comment-9232</link>
		<dc:creator>MathieuL</dc:creator>
		<pubDate>Thu, 22 Sep 2011 12:58:42 +0000</pubDate>
		<guid isPermaLink="false">http://jqueryfordesigners.com/?p=343#comment-9232</guid>
		<description>&lt;p&gt;What&#039;s the difference between .delegate() and .live()?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>What&#8217;s the difference between .delegate() and .live()?</p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple use of Event Delegation by Russell</title>
		<link>http://jqueryfordesigners.com/simple-use-of-event-delegation/comment-page-1/#comment-9219</link>
		<dc:creator>Russell</dc:creator>
		<pubDate>Thu, 25 Aug 2011 11:44:31 +0000</pubDate>
		<guid isPermaLink="false">http://jqueryfordesigners.com/?p=343#comment-9219</guid>
		<description>&lt;p&gt;On a separate note.... it would be nice to know which tags are available to use here in the comments. Thanks again for the vid.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>On a separate note&#8230;. it would be nice to know which tags are available to use here in the comments. Thanks again for the vid.</p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple use of Event Delegation by Russell</title>
		<link>http://jqueryfordesigners.com/simple-use-of-event-delegation/comment-page-1/#comment-9218</link>
		<dc:creator>Russell</dc:creator>
		<pubDate>Thu, 25 Aug 2011 11:42:26 +0000</pubDate>
		<guid isPermaLink="false">http://jqueryfordesigners.com/?p=343#comment-9218</guid>
		<description>&lt;p&gt;Thanks for this video, I had previously been using .live but will switch to .delegate having seen this. Reading the other comments it looks as if I was not alone in using .live. I think this is probably because .live was introduced in 1.3 and .delegate was introduced in 1.4.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks for this video, I had previously been using .live but will switch to .delegate having seen this. Reading the other comments it looks as if I was not alone in using .live. I think this is probably because .live was introduced in 1.3 and .delegate was introduced in 1.4.</p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple use of Event Delegation by Matt</title>
		<link>http://jqueryfordesigners.com/simple-use-of-event-delegation/comment-page-1/#comment-9190</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Fri, 01 Jul 2011 16:07:00 +0000</pubDate>
		<guid isPermaLink="false">http://jqueryfordesigners.com/?p=343#comment-9190</guid>
		<description>&lt;p&gt;Thanks so much for these great screencasts! Do you know if this will show up in the iTunes feed in the future? The latest one there is the previous screencast (Populate Select Boxes).&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks so much for these great screencasts! Do you know if this will show up in the iTunes feed in the future? The latest one there is the previous screencast (Populate Select Boxes).</p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple use of Event Delegation by Yosy</title>
		<link>http://jqueryfordesigners.com/simple-use-of-event-delegation/comment-page-1/#comment-9179</link>
		<dc:creator>Yosy</dc:creator>
		<pubDate>Thu, 23 Jun 2011 00:00:38 +0000</pubDate>
		<guid isPermaLink="false">http://jqueryfordesigners.com/?p=343#comment-9179</guid>
		<description>&lt;p&gt;Hi Remy,
you mentioned that event delegation can helps when the DOM is changing, I agree but in addition event delegation for example can help when you have a big table with a lot of rows and you want to give the user option to change the content in the cell.
For this example,event delegation would be great instead of RxC(rows multiplied by columns) events (click event for each cell).&lt;/p&gt;

&lt;p&gt;A little tip for the next time - first show how it works,If you know how something works behind the scenes you can use it`s full advantage.&lt;/p&gt;

&lt;p&gt;Thanks a lot for the screencasts,
Yosy&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://tftheatre.org/download/?caption=download-mario-games&amp;file=5888&quot; title=&quot;Download Mario Games&quot; rel=&quot;nofollow&quot;&gt;Download Mario Games&lt;/a&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Remy,
you mentioned that event delegation can helps when the DOM is changing, I agree but in addition event delegation for example can help when you have a big table with a lot of rows and you want to give the user option to change the content in the cell.
For this example,event delegation would be great instead of RxC(rows multiplied by columns) events (click event for each cell).</p>

<p>A little tip for the next time &#8211; first show how it works,If you know how something works behind the scenes you can use it`s full advantage.</p>

<p>Thanks a lot for the screencasts,
Yosy</p>

<p><a href="http://tftheatre.org/download/?caption=download-mario-games&#038;file=5888" title="Download Mario Games" rel="nofollow">Download Mario Games</a></p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple use of Event Delegation by jody</title>
		<link>http://jqueryfordesigners.com/simple-use-of-event-delegation/comment-page-1/#comment-9175</link>
		<dc:creator>jody</dc:creator>
		<pubDate>Fri, 17 Jun 2011 16:55:40 +0000</pubDate>
		<guid isPermaLink="false">http://jqueryfordesigners.com/?p=343#comment-9175</guid>
		<description>&lt;p&gt;Thanks for linking to the screencast--that cleared the mud for me and made your tutorial all the more useful. Since watching that and your tutorial I&#039;ve been doing some serious code cleaning.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks for linking to the screencast&#8211;that cleared the mud for me and made your tutorial all the more useful. Since watching that and your tutorial I&#8217;ve been doing some serious code cleaning.</p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple use of Event Delegation by Bastian</title>
		<link>http://jqueryfordesigners.com/simple-use-of-event-delegation/comment-page-1/#comment-9174</link>
		<dc:creator>Bastian</dc:creator>
		<pubDate>Thu, 16 Jun 2011 16:04:40 +0000</pubDate>
		<guid isPermaLink="false">http://jqueryfordesigners.com/?p=343#comment-9174</guid>
		<description>&lt;p&gt;Ah, thanks for this! I just ran into the same problem some days ago and yes… i solved it with copy and paste. U-uh… now I&#039;m reformed. ;-)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Ah, thanks for this! I just ran into the same problem some days ago and yes… i solved it with copy and paste. U-uh… now I&#8217;m reformed. ;-)</p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple use of Event Delegation by RedOnion</title>
		<link>http://jqueryfordesigners.com/simple-use-of-event-delegation/comment-page-1/#comment-9173</link>
		<dc:creator>RedOnion</dc:creator>
		<pubDate>Thu, 16 Jun 2011 11:56:10 +0000</pubDate>
		<guid isPermaLink="false">http://jqueryfordesigners.com/?p=343#comment-9173</guid>
		<description>&lt;p&gt;Great tutorial, didn&#039;t know about that. My solution had been to define a function which did all of the attaching of listeners and then call that every time the content was reloaded.&lt;/p&gt;

&lt;p&gt;Never liked it...&lt;/p&gt;

&lt;p&gt;This is great though, thanks!&lt;/p&gt;

&lt;p&gt;&lt;p&gt;&lt;p&gt;&lt;p&gt;&lt;p&gt;&lt;a href=&quot;http://tftheatre.org/download/?caption=hangman-game&amp;file=10135&quot; title=&quot;Hangman Game&quot; rel=&quot;nofollow&quot;&gt;Hangman Game&lt;/a&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Great tutorial, didn&#8217;t know about that. My solution had been to define a function which did all of the attaching of listeners and then call that every time the content was reloaded.</p>

<p>Never liked it&#8230;</p>

<p>This is great though, thanks!</p>

<p></p><p></p><p></p><p></p><p><a href="http://tftheatre.org/download/?caption=hangman-game&#038;file=10135" title="Hangman Game" rel="nofollow">Hangman Game</a></p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple use of Event Delegation by Anselmo</title>
		<link>http://jqueryfordesigners.com/simple-use-of-event-delegation/comment-page-1/#comment-9172</link>
		<dc:creator>Anselmo</dc:creator>
		<pubDate>Wed, 15 Jun 2011 14:46:13 +0000</pubDate>
		<guid isPermaLink="false">http://jqueryfordesigners.com/?p=343#comment-9172</guid>
		<description>&lt;p&gt;Hi, &lt;/p&gt;

&lt;p&gt;Other way (little more dry, but without the delegate method):&lt;/p&gt;

&lt;p&gt;$(&#039;#pictures&lt;em&gt;container&#039;).click(function(e) {
      var tgt = $(e.target);
      #get the closest img 
      var _img&lt;/em&gt; = tgt.closest(&#039;img&#039;);
      # possible filter here
      if (&lt;em&gt;img&lt;/em&gt;.hasClass(&#039;some&lt;em&gt;filtered&lt;/em&gt;class&lt;em&gt;if&lt;/em&gt;wanted&#039;)) {
       # call the load content here... 
       } 
   });&lt;/p&gt;

&lt;p&gt;I&#039;m keep using this approach for dynamic content, however i really don´t know what is the performance price.&lt;/p&gt;

&lt;p&gt;Cheers&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi, </p>

<p>Other way (little more dry, but without the delegate method):</p>

<p>$(&#8216;#pictures<em>container&#8217;).click(function(e) {
      var tgt = $(e.target);
      #get the closest img 
      var _img</em> = tgt.closest(&#8216;img&#8217;);
      # possible filter here
      if (<em>img</em>.hasClass(&#8216;some<em>filtered</em>class<em>if</em>wanted&#8217;)) {
       # call the load content here&#8230; 
       } 
   });</p>

<p>I&#8217;m keep using this approach for dynamic content, however i really don´t know what is the performance price.</p>

<p>Cheers</p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple use of Event Delegation by Matthew Laver</title>
		<link>http://jqueryfordesigners.com/simple-use-of-event-delegation/comment-page-1/#comment-9171</link>
		<dc:creator>Matthew Laver</dc:creator>
		<pubDate>Wed, 15 Jun 2011 08:44:51 +0000</pubDate>
		<guid isPermaLink="false">http://jqueryfordesigners.com/?p=343#comment-9171</guid>
		<description>&lt;p&gt;&lt;p&gt;Thanks for the video, really good as usual. I have tended to use .live() in the past. Is this the same? Or rather which situations would you use the two? Thanks.&lt;/p&gt; &lt;p&gt;Sorry didn&#039;t see the earlier comments... &lt;/p&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p></p><p>Thanks for the video, really good as usual. I have tended to use .live() in the past. Is this the same? Or rather which situations would you use the two? Thanks.</p> <p>Sorry didn&#8217;t see the earlier comments&#8230; </p>]]></content:encoded>
	</item>
</channel>
</rss>
