<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Software and Opinions &#187; jquery.escape</title>
	<atom:link href="http://ianloic.com/tag/jquery-escape/feed/" rel="self" type="application/rss+xml" />
	<link>http://ianloic.com</link>
	<description>from Ian McKellar</description>
	<lastBuildDate>Wed, 07 Sep 2011 21:48:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<atom:link rel='hub' href='http://ianloic.com/?pushpress=hub'/>
		<item>
		<title>jQuery selector escaping</title>
		<link>http://ianloic.com/2009/12/27/jquery-selector-escaping/</link>
		<comments>http://ianloic.com/2009/12/27/jquery-selector-escaping/#comments</comments>
		<pubDate>Sun, 27 Dec 2009 15:52:00 +0000</pubDate>
		<dc:creator>Ian McKellar</dc:creator>
				<category><![CDATA[Default]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[jquery.escape]]></category>

		<guid isPermaLink="false">http://ianloic.com/?p=161</guid>
		<description><![CDATA[jQuery selectors are powerful and simple to use, until you have attribute values (including ids and classes) that have funny characters. I wrote a plugin adds a simple function $.escape that will escape any special characters. For example if I &#8230; <a href="http://ianloic.com/2009/12/27/jquery-selector-escaping/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>jQuery selectors are powerful and simple to use, until you have attribute<br />
values (including ids and classes) that have funny characters. I wrote a <a href="http://plugins.jquery.com/project/escape">plugin</a><br />
adds a simple function <code>$.escape</code> that will escape any special characters.<br />
For example if I have a string s that contains an id but I&#8217;m not sure that<br />
all of the characters are safe I can use <code>$('#'+$.escape(s))</code> to find the<br />
element with that id. If I want to find all of the links to<br />
http://ianloic.com/ I can do <code>$('a[href='+$.escape('http://ianloic.com/')+']')</code></p>
<p>The first release is <a href="http://plugins.jquery.com/node/12128">here</a>. I don&#8217;t know that there will be any more releases &#8211; this is a pretty damn simple plugin.</p>
]]></content:encoded>
			<wfw:commentRss>http://ianloic.com/2009/12/27/jquery-selector-escaping/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

