<?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>FiddyP &#187; parentNode</title>
	<atom:link href="http://fiddyp.co.uk/tag/parentnode/feed/" rel="self" type="application/rss+xml" />
	<link>http://fiddyp.co.uk</link>
	<description>The personal blog of Andy Bailey</description>
	<lastBuildDate>Sun, 13 May 2012 15:28:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>this.parentNode has no properties jQuery</title>
		<link>http://fiddyp.co.uk/thisparentnode-has-no-properties-jquery/</link>
		<comments>http://fiddyp.co.uk/thisparentnode-has-no-properties-jquery/#comments</comments>
		<pubDate>Thu, 13 Nov 2008 17:31:18 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[ajax]]></category>
		<category><![CDATA[Blog News]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[parentNode]]></category>
		<category><![CDATA[profit]]></category>
		<category><![CDATA[scriptaculous]]></category>

		<guid isPermaLink="false">http://www.fiddyp.co.uk/?p=1080</guid>
		<description><![CDATA[Ever had this error when you&#8217;re running a jQuery script? this.parentNode has no properties jQuery This innocuous error, in my experience comes down to two things: You are [..]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Ffiddyp.co.uk%2Fthisparentnode-has-no-properties-jquery%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Ffiddyp.co.uk%2Fthisparentnode-has-no-properties-jquery%2F&amp;source=commentluv&amp;style=normal&amp;service=bit.ly&amp;service_api=R_259b4e5679e2c431cca1f989e158bba4&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Ever had this error when you&#8217;re running a jQuery script?<br />
<a href="http://fiddyp.co.uk/wp-content/uploads/2008/11/jquery-scriptaculous-error.jpg"><img src="http://fiddyp.co.uk/wp-content/uploads/2008/11/jquery-scriptaculous-error.jpg" alt="" width="500" height="57" class="alignnone size-full wp-image-1081" /></a></p>
<p class="alert">this.parentNode has no properties jQuery</p>
<p>This innocuous error, in my experience comes down to two things:</p>
<ol>
<li>You are trying to get the ID of a parent object. Like if you want the form ID from knowing the name field. <em>jQuery(&#8220;#name&#8221;).parents(&#8220;form&#8221;).attr(&#8220;id&#8221;);</em> and the form doesn&#8217;t have the attribute of ID set.</li>
<li>Scriptaculous , more specifically effects.js . If the effects.js is being used on the same page then this error happens. The solution is to download the latest version (1.8.1) and use that instead. You can overwrite just the effects.js from the package and you wont get the error any more!
</li>
</ol>
<p>Exciting? yes because no matter how many searches I made I couldn&#8217;t find the answer. Google groups and forums all talked about something else causing it like noConflict() or loading scriptaculous first.</p>
<p>Now you know. Use the latest version of <a href="http://script.aculo.us/">Scriptaculous</a> (if you must use it at all) with jQuery.</p>
]]></content:encoded>
			<wfw:commentRss>http://fiddyp.co.uk/thisparentnode-has-no-properties-jquery/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

