<?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: .andSelf()</title>
	<atom:link href="http://api.jquery.com/andSelf/feed/" rel="self" type="application/rss+xml" />
	<link>http://api.jquery.com/andSelf/</link>
	<description>jQuery API Reference</description>
	<lastBuildDate>Fri, 19 Aug 2011 09:06:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Guest</title>
		<link>http://api.jquery.com/andSelf/comment-page-1/#comment-8666</link>
		<dc:creator>Guest</dc:creator>
		<pubDate>Thu, 27 Jan 2011 18:58:38 +0000</pubDate>
		<guid isPermaLink="false">http://api.jquery.com/?p=335#comment-8666</guid>
		<description>Can&#039;t get it :(</description>
		<content:encoded><![CDATA[<p>Can&#39;t get it <img src='http://api.jquery.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Reeves</title>
		<link>http://api.jquery.com/andSelf/comment-page-1/#comment-8016</link>
		<dc:creator>John Reeves</dc:creator>
		<pubDate>Tue, 12 Oct 2010 22:18:16 +0000</pubDate>
		<guid isPermaLink="false">http://api.jquery.com/?p=335#comment-8016</guid>
		<description>Maybe because I have the same question, I can understand what he meant.  &lt;br&gt;&lt;br&gt;What is the effect of $something.andSelf().andSelf()&lt;br&gt;&lt;br&gt;His A and B refer to the stack of jQuery result sets.  In the first example, he did a query that resulted in A, then one based on that which resulted in B, then he did andSelf(), which resulted in A+B being on the stack.  The other examples explain themselves.&lt;br&gt;&lt;br&gt;I just did a little test which showed that andSelf() actually pushes the current result set on the stack, which is not very useful.  So the answer is andSelf causes the first example, &quot;A, B, A+B&quot;.   andSelf().andSelf() causes &quot;A, B, A+B, A+B&quot;</description>
		<content:encoded><![CDATA[<p>Maybe because I have the same question, I can understand what he meant.  </p>
<p>What is the effect of $something.andSelf().andSelf()</p>
<p>His A and B refer to the stack of jQuery result sets.  In the first example, he did a query that resulted in A, then one based on that which resulted in B, then he did andSelf(), which resulted in A+B being on the stack.  The other examples explain themselves.</p>
<p>I just did a little test which showed that andSelf() actually pushes the current result set on the stack, which is not very useful.  So the answer is andSelf causes the first example, &#8220;A, B, A+B&#8221;.   andSelf().andSelf() causes &#8220;A, B, A+B, A+B&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Reeves</title>
		<link>http://api.jquery.com/andSelf/comment-page-1/#comment-6299</link>
		<dc:creator>John Reeves</dc:creator>
		<pubDate>Tue, 12 Oct 2010 14:18:16 +0000</pubDate>
		<guid isPermaLink="false">http://api.jquery.com/?p=335#comment-6299</guid>
		<description>Maybe because I have the same question, I can understand what he meant.  &lt;br&gt;&lt;br&gt;What is the effect of $something.andSelf().andSelf()&lt;br&gt;&lt;br&gt;His A and B refer to the stack of jQuery result sets.  In the first example, he did a query that resulted in A, then one based on that which resulted in B, then he did andSelf(), which resulted in A+B being on the stack.  The other examples explain themselves.&lt;br&gt;&lt;br&gt;I just did a little test which showed that andSelf() actually pushes the current result set on the stack, which is not very useful.  So the answer is andSelf causes the first example, &quot;A, B, A+B&quot;.   andSelf().andSelf() causes &quot;A, B, A+B, A+B&quot;</description>
		<content:encoded><![CDATA[<p>Maybe because I have the same question, I can understand what he meant.  </p>
<p>What is the effect of $something.andSelf().andSelf()</p>
<p>His A and B refer to the stack of jQuery result sets.  In the first example, he did a query that resulted in A, then one based on that which resulted in B, then he did andSelf(), which resulted in A+B being on the stack.  The other examples explain themselves.</p>
<p>I just did a little test which showed that andSelf() actually pushes the current result set on the stack, which is not very useful.  So the answer is andSelf causes the first example, &#8220;A, B, A+B&#8221;.   andSelf().andSelf() causes &#8220;A, B, A+B, A+B&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl Swedberg</title>
		<link>http://api.jquery.com/andSelf/comment-page-1/#comment-5973</link>
		<dc:creator>Karl Swedberg</dc:creator>
		<pubDate>Sun, 26 Sep 2010 15:36:47 +0000</pubDate>
		<guid isPermaLink="false">http://api.jquery.com/?p=335#comment-5973</guid>
		<description>It keeps the resulting elements in the order in which they appear in the document.</description>
		<content:encoded><![CDATA[<p>It keeps the resulting elements in the order in which they appear in the document.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl Swedberg</title>
		<link>http://api.jquery.com/andSelf/comment-page-1/#comment-5972</link>
		<dc:creator>Karl Swedberg</dc:creator>
		<pubDate>Sun, 26 Sep 2010 15:35:47 +0000</pubDate>
		<guid isPermaLink="false">http://api.jquery.com/?p=335#comment-5972</guid>
		<description>Not sure what your A and B are referring to, but the last paragraph before the Example above states that the elements are returned in the order in which they appear in the document. Each element appears in the resulting set only once, so if you did $(&#039;li&#039;).filter(&#039;:first&#039;).andSelf(), the first list item would still appear once in the set, followed by the other list items.</description>
		<content:encoded><![CDATA[<p>Not sure what your A and B are referring to, but the last paragraph before the Example above states that the elements are returned in the order in which they appear in the document. Each element appears in the resulting set only once, so if you did $(&#39;li&#39;).filter(&#39;:first&#39;).andSelf(), the first list item would still appear once in the set, followed by the other list items.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob kerns</title>
		<link>http://api.jquery.com/andSelf/comment-page-1/#comment-5407</link>
		<dc:creator>Bob kerns</dc:creator>
		<pubDate>Mon, 06 Sep 2010 16:20:10 +0000</pubDate>
		<guid isPermaLink="false">http://api.jquery.com/?p=335#comment-5407</guid>
		<description>The documentation fails to state the effect of andSelf() on the stack!&lt;br&gt;&lt;br&gt;Yes, it merges. But that leaves us three possible stack outcomes.&lt;br&gt;&lt;br&gt;A, B, A+B&lt;br&gt;A, A+B&lt;br&gt;A+B&lt;br&gt;&lt;br&gt;Which case is it? The documentation should state.&lt;br&gt;</description>
		<content:encoded><![CDATA[<p>The documentation fails to state the effect of andSelf() on the stack!</p>
<p>Yes, it merges. But that leaves us three possible stack outcomes.</p>
<p>A, B, A+B<br />A, A+B<br />A+B</p>
<p>Which case is it? The documentation should state.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mkaestner</title>
		<link>http://api.jquery.com/andSelf/comment-page-1/#comment-5367</link>
		<dc:creator>Mkaestner</dc:creator>
		<pubDate>Thu, 15 Jul 2010 13:47:15 +0000</pubDate>
		<guid isPermaLink="false">http://api.jquery.com/?p=335#comment-5367</guid>
		<description>As I see it is appended. Which is for me a problem.</description>
		<content:encoded><![CDATA[<p>As I see it is appended. Which is for me a problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Buchanan</title>
		<link>http://api.jquery.com/andSelf/comment-page-1/#comment-5366</link>
		<dc:creator>Scott Buchanan</dc:creator>
		<pubDate>Wed, 23 Jun 2010 12:37:38 +0000</pubDate>
		<guid isPermaLink="false">http://api.jquery.com/?p=335#comment-5366</guid>
		<description>This would be very helpful. It would also improve performance when you need to do this, as the filter would not be run twice on the elements returned from find().</description>
		<content:encoded><![CDATA[<p>This would be very helpful. It would also improve performance when you need to do this, as the filter would not be run twice on the elements returned from find().</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Craver</title>
		<link>http://api.jquery.com/andSelf/comment-page-1/#comment-11244</link>
		<dc:creator>Nick Craver</dc:creator>
		<pubDate>Thu, 13 May 2010 15:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://api.jquery.com/?p=335#comment-11244</guid>
		<description>What are the chances of giving this the ability to take a selector?  When any descendant or current elements that match the current selector, there&#039;s not a quick way to do this, currently it&#039;s .find(selector).andSelf().filter(selector) or some combination, would be nice if .andSelf() was able to take a selector already, doing the filter internally.</description>
		<content:encoded><![CDATA[<p>What are the chances of giving this the ability to take a selector?  When any descendant or current elements that match the current selector, there&#8217;s not a quick way to do this, currently it&#8217;s .find(selector).andSelf().filter(selector) or some combination, would be nice if .andSelf() was able to take a selector already, doing the filter internally.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eamon Nerbonne</title>
		<link>http://api.jquery.com/andSelf/comment-page-1/#comment-2766</link>
		<dc:creator>Eamon Nerbonne</dc:creator>
		<pubDate>Sat, 01 May 2010 04:53:59 +0000</pubDate>
		<guid isPermaLink="false">http://api.jquery.com/?p=335#comment-2766</guid>
		<description>Does andSelf add the previous set before or after the current set?</description>
		<content:encoded><![CDATA[<p>Does andSelf add the previous set before or after the current set?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

