<?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>Francis de la Peña &#187; JavaScript</title>
	<atom:link href="http://francisdelapena.com/series/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://francisdelapena.com</link>
	<description>whomp whomp.</description>
	<lastBuildDate>Tue, 14 May 2013 19:55:28 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>how to use jQuery in WordPress</title>
		<link>http://francisdelapena.com/2011/06/how-to-use-jquery-in-wordpress/</link>
		<comments>http://francisdelapena.com/2011/06/how-to-use-jquery-in-wordpress/#comments</comments>
		<pubDate>Sat, 04 Jun 2011 06:44:52 +0000</pubDate>
		<dc:creator>Francis</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Nerdy]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://francisdelapena.com/?p=6410</guid>
		<description><![CDATA[Depending on motivation, these &#8220;how-to&#8217;s&#8221; may or may not become a regular occurrence. I get asked web questions all the time and instead of having to explain the same thing over and over again, I&#8217;d like to just start cataloging my solutions. I&#8217;ll kick things off with a quickie: PROBLEM: You&#8217;re trying to use jQuery [...]]]></description>
				<content:encoded><![CDATA[<p>Depending on motivation, these &#8220;how-to&#8217;s&#8221; may or may not become a regular occurrence. I get asked web questions all the time and instead of having to explain the same thing over and over again, I&#8217;d like to just start cataloging my solutions.</p>
<p>I&#8217;ll kick things off with a quickie:</p>
<p><strong>PROBLEM:</strong><br />
You&#8217;re trying to use jQuery in your WordPress theme, widget or plugin but you keep getting an error that&#8217;s something along the lines of &#8220;Result of expression &#8216;$&#8217; [undefined].&#8221;</p>
<p><strong>DIAGNOSIS:</strong><br />
Chances are, there are other JavaScript libraries being loaded that also uses &#8220;$&#8221; and it&#8217;s fucking up your juice.</p>
<p><strong>SOLUTION:</strong><br />
Use &#8220;.noConflict()&#8221; to get your party started.</p>
<p><code>$j=jQuery.noConflict();<br />
$j(document).ready(function($){<br />
    // Code that uses jQuery's regular "$" can hang out in here.<br />
}</code></p>
]]></content:encoded>
			<wfw:commentRss>http://francisdelapena.com/2011/06/how-to-use-jquery-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
