<?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: Quick Tips &#8211; jQuery: Giving your selectors some context</title>
	<atom:link href="http://andygirvan.com/2010/07/quick-tips-jquery-giving-your-selectors-some-context/feed/" rel="self" type="application/rss+xml" />
	<link>http://andygirvan.com/2010/07/quick-tips-jquery-giving-your-selectors-some-context/</link>
	<description>London based Freelance Web &#38; iPhone Developer</description>
	<lastBuildDate>Sun, 18 Dec 2011 16:05:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: andygirvan</title>
		<link>http://andygirvan.com/2010/07/quick-tips-jquery-giving-your-selectors-some-context/comment-page-1/#comment-39</link>
		<dc:creator>andygirvan</dc:creator>
		<pubDate>Tue, 13 Jul 2010 15:57:13 +0000</pubDate>
		<guid isPermaLink="false">http://andygirvan.com/?p=132#comment-39</guid>
		<description>Additionally there is a great stackoverflow article about this: &lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://stackoverflow.com/questions/2421782/performance-of-jquery-selector-with-context&quot; rel=&quot;nofollow&quot;&gt;http://stackoverflow.com/questions/2421782/perf...&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Additionally there is a great stackoverflow article about this: </p>
<p><a href="http://stackoverflow.com/questions/2421782/performance-of-jquery-selector-with-context" rel="nofollow">http://stackoverflow.com/questions/2421782/perf&#8230;</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andygirvan</title>
		<link>http://andygirvan.com/2010/07/quick-tips-jquery-giving-your-selectors-some-context/comment-page-1/#comment-38</link>
		<dc:creator>andygirvan</dc:creator>
		<pubDate>Tue, 13 Jul 2010 15:13:31 +0000</pubDate>
		<guid isPermaLink="false">http://andygirvan.com/?p=132#comment-38</guid>
		<description>Actually there is a subtle difference. &lt;br&gt;&lt;br&gt;The way $(&#039;ul.menu li&#039;) would work would be to search through the DOM to find all list items within a located ul.menu. &lt;br&gt;&lt;br&gt;The other way of doing it - $(&#039;li&#039;,&#039;ul.menu&#039;) would only target the unordered list when performing the search.</description>
		<content:encoded><![CDATA[<p>Actually there is a subtle difference. </p>
<p>The way $(&#39;ul.menu li&#39;) would work would be to search through the DOM to find all list items within a located ul.menu. </p>
<p>The other way of doing it &#8211; $(&#39;li&#39;,&#39;ul.menu&#39;) would only target the unordered list when performing the search.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seb</title>
		<link>http://andygirvan.com/2010/07/quick-tips-jquery-giving-your-selectors-some-context/comment-page-1/#comment-37</link>
		<dc:creator>Seb</dc:creator>
		<pubDate>Tue, 13 Jul 2010 13:31:31 +0000</pubDate>
		<guid isPermaLink="false">http://andygirvan.com/?p=132#comment-37</guid>
		<description>$(&#039;li&#039;,&#039;ul.menu&#039;); is functionally equivalent to $(&#039;ul.menu li&#039;); Far more useful, I find, are the is the ability to pass another jQuery object as the second parameter, e.g. the results from an earlier query, or a dom object, such as the document object of an external xml file retrieved from an ajax query.&lt;br&gt;&lt;br&gt;var menu = $(&#039;ul.menu&#039;);&lt;br&gt;$(&#039;li&#039;, menu);</description>
		<content:encoded><![CDATA[<p>$(&#39;li&#39;,&#39;ul.menu&#39;); is functionally equivalent to $(&#39;ul.menu li&#39;); Far more useful, I find, are the is the ability to pass another jQuery object as the second parameter, e.g. the results from an earlier query, or a dom object, such as the document object of an external xml file retrieved from an ajax query.</p>
<p>var menu = $(&#39;ul.menu&#39;);<br />$(&#39;li&#39;, menu);</p>
]]></content:encoded>
	</item>
</channel>
</rss>

