<?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>BinaryKitten&#039;s Blog &#187; exists</title>
	<atom:link href="http://binarykitten.me.uk/tag/exists/feed" rel="self" type="application/rss+xml" />
	<link>http://binarykitten.me.uk</link>
	<description></description>
	<lastBuildDate>Thu, 09 Sep 2010 10:33:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>jQuery Plugin: Element Existence</title>
		<link>http://binarykitten.me.uk/dev/jq-plugins/131-jquery-plugin-element-existence.html</link>
		<comments>http://binarykitten.me.uk/dev/jq-plugins/131-jquery-plugin-element-existence.html#comments</comments>
		<pubDate>Wed, 25 Feb 2009 03:13:25 +0000</pubDate>
		<dc:creator>BinaryKitten</dc:creator>
				<category><![CDATA[jQuery Plugins]]></category>
		<category><![CDATA[exists]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://binarykitten.jkrswebsolutions.co.uk/?p=131</guid>
		<description><![CDATA[Just a Quick little snippet really.. Over at JqueryForDesigners.com @rem mentioned about checking if an element exists or not, I&#8217;ve been doing this for some time using the following snippet: jQuery.fn.exists = function() { return (this.length &#62; 0); }; to use it you can now do this: if ($(&#039;#elem&#039;).exists()) { /* do something */ } [...]]]></description>
			<content:encoded><![CDATA[<p>Just a Quick little snippet really..</p>
<p>Over at JqueryForDesigners.com  <a href="http://twitter.com/rem">@rem</a> mentioned about <a href="http://jqueryfordesigners.com/element-exists/">checking if an element exists or not</a>, I&#8217;ve been doing this for some time using the following snippet:</p>
<pre class="brush: javascript">
jQuery.fn.exists = function() {
    return (this.length &gt; 0);
};
</pre>
<p>to use it you can now do this:</p>
<pre class="brush: javascript">
if ($(&#039;#elem&#039;).exists()) { /* do something */ }
</pre>
<p>Hope this is helpful to some people</p>
]]></content:encoded>
			<wfw:commentRss>http://binarykitten.me.uk/dev/jq-plugins/131-jquery-plugin-element-existence.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
