<?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: Selecting Elements by Properties and DOM Expandos</title>
	<atom:link href="http://www.learningjquery.com/2007/03/selecting-elements-by-properties-and-dom-expandos/feed" rel="self" type="application/rss+xml" />
	<link>http://www.learningjquery.com/2007/03/selecting-elements-by-properties-and-dom-expandos</link>
	<description>Tips, techniques, and tutorials for the jQuery JavaScript library</description>
	<lastBuildDate>Wed, 08 Feb 2012 13:50:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Frdric</title>
		<link>http://www.learningjquery.com/2007/03/selecting-elements-by-properties-and-dom-expandos/comment-page-1#comment-18434</link>
		<dc:creator>Frdric</dc:creator>
		<pubDate>Wed, 31 Oct 2007 17:57:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/2007/03/selecting-elements-by-properties-and-dom-expandos#comment-18434</guid>
		<description>I hope to see an other article on expandos... This look useful but get little explanations. Particularly, did we can select an item depending of the expando value? I think about something like that:

&lt;pre&gt;&lt;code&gt;listItem = $(&#039;&lt;li&gt;item&lt;/li&gt;&#039;);
listItem._myData = $i;

[...]

$(&#039;li[@$_myData=34]&#039;);&lt;/code&gt;&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>I hope to see an other article on expandos&#8230; This look useful but get little explanations. Particularly, did we can select an item depending of the expando value? I think about something like that:</p>
<pre><code>listItem = $('&lt;li&gt;item&lt;/li&gt;');
listItem._myData = $i;

[...]

$('li[@$_myData=34]');</code></pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: travis</title>
		<link>http://www.learningjquery.com/2007/03/selecting-elements-by-properties-and-dom-expandos/comment-page-1#comment-3695</link>
		<dc:creator>travis</dc:creator>
		<pubDate>Thu, 22 Mar 2007 14:32:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/2007/03/selecting-elements-by-properties-and-dom-expandos#comment-3695</guid>
		<description>ah, ok - thanks!</description>
		<content:encoded><![CDATA[<p>ah, ok &#8211; thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brandon</title>
		<link>http://www.learningjquery.com/2007/03/selecting-elements-by-properties-and-dom-expandos/comment-page-1#comment-3694</link>
		<dc:creator>Brandon</dc:creator>
		<pubDate>Thu, 22 Mar 2007 13:55:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/2007/03/selecting-elements-by-properties-and-dom-expandos#comment-3694</guid>
		<description>Hey Travis. Great idea and yes you could combine the two selectors to insure that it works with both versions. Just make sure to remember to put the @ in there.

&lt;code&gt;$(&#039;[@events], [@$events]&#039;);&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Hey Travis. Great idea and yes you could combine the two selectors to insure that it works with both versions. Just make sure to remember to put the @ in there.</p>
<p><code>$('[@events], [@$events]');</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: travis</title>
		<link>http://www.learningjquery.com/2007/03/selecting-elements-by-properties-and-dom-expandos/comment-page-1#comment-3693</link>
		<dc:creator>travis</dc:creator>
		<pubDate>Thu, 22 Mar 2007 13:44:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/2007/03/selecting-elements-by-properties-and-dom-expandos#comment-3693</guid>
		<description>Since it is changing to $events, could you do the following in your code so that it&#039;ll work in both versions?

&lt;code&gt;$(&quot;[@events], [$events]&quot;);&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Since it is changing to $events, could you do the following in your code so that it&#8217;ll work in both versions?</p>
<p><code>$("[@events], [$events]");</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced (User agent is rejected)
Database Caching 5/13 queries in 0.005 seconds using disk: basic
Object Caching 269/271 objects using disk: basic
Content Delivery Network via learningjquery.kswedberg.netdna-cdn.com

Served from: www.learningjquery.com @ 2012-02-08 17:55:35 -->
