<?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: Properly Using Multiple jQuery Functions</title>
	<atom:link href="http://curtisblackwell.com/properly-using-multiple-jquery-functions/feed/" rel="self" type="application/rss+xml" />
	<link>http://curtisblackwell.com/properly-using-multiple-jquery-functions/</link>
	<description>Curtis Blackwell&#039;s portfolio of web &#38; graphic design, accompanied by a design blog..</description>
	<lastBuildDate>Sat, 19 Jun 2010 05:04:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Chris Voth</title>
		<link>http://curtisblackwell.com/properly-using-multiple-jquery-functions/comment-page-1/#comment-55</link>
		<dc:creator>Chris Voth</dc:creator>
		<pubDate>Sun, 04 Oct 2009 03:04:01 +0000</pubDate>
		<guid isPermaLink="false">http://curtisblackwell.com/?p=51#comment-55</guid>
		<description>To shed light on the reason why only one of the files was working:

Lightwindow uses the Scriptaculous Javascript library, which reserves the &#039;$&#039; as a shortcut. The jQuery.noConflict function is then required, to change jQuery&#039;s shortcut from the &#039;$&#039; to just &#039;jQuery&#039;. This way, each library knows which pieces of code to look at. (I believe this is the case with most javascript libraries.)

Often times, I do something like this: var jq = jQuery.noConflict();
so that my functions look like this: jq(&#039;#test&#039;).click(function(){});</description>
		<content:encoded><![CDATA[<p>To shed light on the reason why only one of the files was working:</p>
<p>Lightwindow uses the Scriptaculous Javascript library, which reserves the &#8216;$&#8217; as a shortcut. The jQuery.noConflict function is then required, to change jQuery&#8217;s shortcut from the &#8216;$&#8217; to just &#8216;jQuery&#8217;. This way, each library knows which pieces of code to look at. (I believe this is the case with most javascript libraries.)</p>
<p>Often times, I do something like this: var jq = jQuery.noConflict();<br />
so that my functions look like this: jq(&#8216;#test&#8217;).click(function(){});</p>
]]></content:encoded>
	</item>
</channel>
</rss>
