<?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>Cory Sessions Blog &#187; jQuery</title>
	<atom:link href="http://www.corysessions.com/dev/jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.corysessions.com</link>
	<description>Developer &#124; SEO &#124; Professional Slacker</description>
	<lastBuildDate>Mon, 14 Jun 2010 14:32:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>jQuery Error: $ is not a function</title>
		<link>http://www.corysessions.com/dev/jquery/jquery-error-is-not-a-function/</link>
		<comments>http://www.corysessions.com/dev/jquery/jquery-error-is-not-a-function/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 21:58:56 +0000</pubDate>
		<dc:creator>Cory</dc:creator>
				<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.corysessions.com/?p=85</guid>
		<description><![CDATA[This is a fun little jQuery error you&#8217;ll hit sometimes when you are trying to integrate jQuery into an already established system like Wordpress or Drupal, that is already using a Javascript library like prototype.  The problem is that you are hitting conflicts between the two libraries.  And most likely they are fighting over the [...]]]></description>
			<content:encoded><![CDATA[<p>This is a fun little jQuery error you&#8217;ll hit sometimes when you are trying to integrate jQuery into an already established system like Wordpress or Drupal, that is already using a Javascript library like prototype.  The problem is that you are hitting conflicts between the two libraries.  And most likely they are fighting over the $ .</p>
<p>Luckily, jQuery is prepared to handle this!  Good&#8217;ol jQuery.</p>
<p>jQuery has a &#8220;noConflict&#8221; mode, that will let all the jQuery content to run without using the $.  You just state that you are running in noConflict mode in your first line, then instead of using $(function(){&#8230;}, you replace the $ with jQuery, so it looks like this: jQuery(function(){&#8230;.</p>
<p>Here&#8217;s a full example.</p>
<p>&lt;script&gt;</p>
<p>jQuery.noConflict(); // Tell jQuery you are going with noConflict mode.</p>
<p>jQuery(function(){ // Replace the $ with jQuery<br />
jQuery(&#8216;div&#8217;).doStuff();<br />
});</p>
<p>&lt;/script&gt;</p>
<p>This will allow the other library to use the $ without conflict.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.corysessions.com/dev/jquery/jquery-error-is-not-a-function/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

