<?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: Adding jQuery To Your Website</title>
	<atom:link href="http://www.designchemical.com/blog/index.php/jquery/adding-jquery-to-your-website/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.designchemical.com/blog/index.php/jquery/adding-jquery-to-your-website/</link>
	<description>Your Business Catalyst</description>
	<lastBuildDate>Sat, 04 Feb 2012 05:46:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Lee</title>
		<link>http://www.designchemical.com/blog/index.php/jquery/adding-jquery-to-your-website/comment-page-1/#comment-19495</link>
		<dc:creator>Lee</dc:creator>
		<pubDate>Tue, 25 Oct 2011 21:09:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=123#comment-19495</guid>
		<description>Hi,

Try:

[js]
$(document).ready(function() {
$(&quot;.img-swap&quot;).live(&#039;click&#039;, function() {
if ($(this).attr(&quot;class&quot;) == &quot;img-swap&quot;) {
this.src = this.src.replace(&quot;_off&quot;,&quot;_on&quot;);
} else {
this.src = this.src.replace(&quot;_on&quot;,&quot;_off&quot;);
}
$(this).toggleClass(&quot;on&quot;);
});
});
[/js]</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Try:</p>
<pre class="brush: jscript; title: ; notranslate">
$(document).ready(function() {
$(&quot;.img-swap&quot;).live('click', function() {
if ($(this).attr(&quot;class&quot;) == &quot;img-swap&quot;) {
this.src = this.src.replace(&quot;_off&quot;,&quot;_on&quot;);
} else {
this.src = this.src.replace(&quot;_on&quot;,&quot;_off&quot;);
}
$(this).toggleClass(&quot;on&quot;);
});
});
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik</title>
		<link>http://www.designchemical.com/blog/index.php/jquery/adding-jquery-to-your-website/comment-page-1/#comment-19494</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Tue, 25 Oct 2011 20:59:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=123#comment-19494</guid>
		<description>Hello everyone!

For some reason I can&#039;t seem to get this to work right. Here&#039;s my code:

In the header: 




 
 
$(function(){ 
  $(&quot;.img-swap&quot;).live(&#039;click&#039;, function() { 
    if ($(this).attr(&quot;class&quot;) == &quot;img-swap&quot;) { 
      this.src = this.src.replace(&quot;_off&quot;,&quot;_on&quot;); 
    } else { 
      this.src = this.src.replace(&quot;_on&quot;,&quot;_off&quot;); 
    } 
    $(this).toggleClass(&quot;on&quot;); 
  }); 
});



Here&#039;s where I reference in the body:




Any suggestions?

Great work creating this btw!</description>
		<content:encoded><![CDATA[<p>Hello everyone!</p>
<p>For some reason I can&#8217;t seem to get this to work right. Here&#8217;s my code:</p>
<p>In the header: </p>
<p>$(function(){<br />
  $(&#8220;.img-swap&#8221;).live(&#8216;click&#8217;, function() {<br />
    if ($(this).attr(&#8220;class&#8221;) == &#8220;img-swap&#8221;) {<br />
      this.src = this.src.replace(&#8220;_off&#8221;,&#8221;_on&#8221;);<br />
    } else {<br />
      this.src = this.src.replace(&#8220;_on&#8221;,&#8221;_off&#8221;);<br />
    }<br />
    $(this).toggleClass(&#8220;on&#8221;);<br />
  });<br />
});</p>
<p>Here&#8217;s where I reference in the body:</p>
<p>Any suggestions?</p>
<p>Great work creating this btw!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jquery email validation &#124; jQuery.co</title>
		<link>http://www.designchemical.com/blog/index.php/jquery/adding-jquery-to-your-website/comment-page-1/#comment-3680</link>
		<dc:creator>jquery email validation &#124; jQuery.co</dc:creator>
		<pubDate>Fri, 17 Sep 2010 14:28:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=123#comment-3680</guid>
		<description>[...] After adding jQuery to your website we set up the code that will perform the validation when the submit button is clicked: [...]</description>
		<content:encoded><![CDATA[<p>[...] After adding jQuery to your website we set up the code that will perform the validation when the submit button is clicked: [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wendell Dileo</title>
		<link>http://www.designchemical.com/blog/index.php/jquery/adding-jquery-to-your-website/comment-page-1/#comment-551</link>
		<dc:creator>Wendell Dileo</dc:creator>
		<pubDate>Tue, 23 Mar 2010 10:58:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=123#comment-551</guid>
		<description>[...]Bookmarked and Pinged &gt; Adding jQuery To Your Website  Design Chemical &#8211; Web Design, Printing, Packaging &amp; SEO - &lt;a href=&quot;http://www.designchemical.com/blog/index.php/jquery/adding-jquery-to-your-website&quot; rel=&quot;nofollow&quot;&gt;http://www.designchemical.com/blog/index.php/jquery/adding-jquery-to-your-website&lt;/a&gt; [...]</description>
		<content:encoded><![CDATA[<p>[...]Bookmarked and Pinged &gt; Adding jQuery To Your Website  Design Chemical &#8211; Web Design, Printing, Packaging &amp; SEO &#8211; <a href="http://www.designchemical.com/blog/index.php/jquery/adding-jquery-to-your-website" rel="nofollow">http://www.designchemical.com/blog/index.php/jquery/adding-jquery-to-your-website</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Email Validation Using jQuery &#171; Design Chemical &#8211; Web Design, Printing, Packaging &#38; SEO</title>
		<link>http://www.designchemical.com/blog/index.php/jquery/adding-jquery-to-your-website/comment-page-1/#comment-330</link>
		<dc:creator>Email Validation Using jQuery &#171; Design Chemical &#8211; Web Design, Printing, Packaging &#38; SEO</dc:creator>
		<pubDate>Wed, 17 Feb 2010 14:11:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=123#comment-330</guid>
		<description>[...] After adding jQuery to your website we set up the code that will perform the validation when the submit button is clicked &#8211; first clearing any existing error messages from previous attempts: [...]</description>
		<content:encoded><![CDATA[<p>[...] After adding jQuery to your website we set up the code that will perform the validation when the submit button is clicked &#8211; first clearing any existing error messages from previous attempts: [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Create a Reverse Order Ordered List Using jQuery &#171; Design Chemical &#8211; Web Design, Printing, Packaging &#38; SEO</title>
		<link>http://www.designchemical.com/blog/index.php/jquery/adding-jquery-to-your-website/comment-page-1/#comment-328</link>
		<dc:creator>Create a Reverse Order Ordered List Using jQuery &#171; Design Chemical &#8211; Web Design, Printing, Packaging &#38; SEO</dc:creator>
		<pubDate>Tue, 16 Feb 2010 12:59:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=123#comment-328</guid>
		<description>[...] some of the usual jQuery magic we can add the following code to the head of the [...]</description>
		<content:encoded><![CDATA[<p>[...] some of the usual jQuery magic we can add the following code to the head of the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Quick and Easy jQuery Image Swap &#171; Design Chemical &#8211; Web Design, Printing, Packaging &#38; SEO</title>
		<link>http://www.designchemical.com/blog/index.php/jquery/adding-jquery-to-your-website/comment-page-1/#comment-321</link>
		<dc:creator>Quick and Easy jQuery Image Swap &#171; Design Chemical &#8211; Web Design, Printing, Packaging &#38; SEO</dc:creator>
		<pubDate>Fri, 12 Feb 2010 16:29:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=123#comment-321</guid>
		<description>[...] the jQuery javascript library already added to your website add the following javascript code between the  tags in your web [...]</description>
		<content:encoded><![CDATA[<p>[...] the jQuery javascript library already added to your website add the following javascript code between the  tags in your web [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marketing company toronto</title>
		<link>http://www.designchemical.com/blog/index.php/jquery/adding-jquery-to-your-website/comment-page-1/#comment-318</link>
		<dc:creator>Marketing company toronto</dc:creator>
		<pubDate>Fri, 12 Feb 2010 07:14:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=123#comment-318</guid>
		<description>I completely agree. Thanks for the post!</description>
		<content:encoded><![CDATA[<p>I completely agree. Thanks for the post!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hiding Your Email Addresses From Spam Harvesters – Part II « Design Chemical – Web Design, Printing, Packaging &#38; SEO</title>
		<link>http://www.designchemical.com/blog/index.php/jquery/adding-jquery-to-your-website/comment-page-1/#comment-33</link>
		<dc:creator>Hiding Your Email Addresses From Spam Harvesters – Part II « Design Chemical – Web Design, Printing, Packaging &#38; SEO</dc:creator>
		<pubDate>Tue, 22 Dec 2009 17:06:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=123#comment-33</guid>
		<description>[...] you are not sure how to include the library code into your web page then refer to our post &#8211; Adding jQuery To Your Website. The following examples assume that your web page already includes the jQuery [...]</description>
		<content:encoded><![CDATA[<p>[...] you are not sure how to include the library code into your web page then refer to our post &#8211; Adding jQuery To Your Website. The following examples assume that your web page already includes the jQuery [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

