<?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: Using jQuery with Joomla!</title>
	<atom:link href="http://www.sanjeevshrestha.com.np/2009/05/using-jquery-with-joomla/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sanjeevshrestha.com.np/2009/05/using-jquery-with-joomla/</link>
	<description>Blogging on Joomla Development /Codeigniter/JQuery/Mootools/Wordpress - All Related to Web</description>
	<lastBuildDate>Thu, 08 Jul 2010 09:14:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: frlobe</title>
		<link>http://www.sanjeevshrestha.com.np/2009/05/using-jquery-with-joomla/comment-page-1/#comment-679</link>
		<dc:creator>frlobe</dc:creator>
		<pubDate>Mon, 07 Jun 2010 22:23:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.sanjeevshrestha.com.np/?p=203#comment-679</guid>
		<description>Hello
I am trying to implement JQuery inside my Joomla site. I am using the Jumi module./component but there is no default.php file inside. Where do I copy those 3 lines in this case?
$document = &amp;JFactory::getDocument();
$document-&gt;addScript(JPATH_SITE.’/media/system/js/jquery.js’ );
$document-&gt;addScriptDeclaration ( ‘jQuery.noConflict();’ );
I was wondering to copy them in my template, that is Beez. Is it correct?
Thank you</description>
		<content:encoded><![CDATA[<p>Hello<br />
I am trying to implement JQuery inside my Joomla site. I am using the Jumi module./component but there is no default.php file inside. Where do I copy those 3 lines in this case?<br />
$document = &amp;JFactory::getDocument();<br />
$document-&gt;addScript(JPATH_SITE.’/media/system/js/jquery.js’ );<br />
$document-&gt;addScriptDeclaration ( ‘jQuery.noConflict();’ );<br />
I was wondering to copy them in my template, that is Beez. Is it correct?<br />
Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: It Marvel</title>
		<link>http://www.sanjeevshrestha.com.np/2009/05/using-jquery-with-joomla/comment-page-1/#comment-497</link>
		<dc:creator>It Marvel</dc:creator>
		<pubDate>Tue, 25 May 2010 07:10:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.sanjeevshrestha.com.np/?p=203#comment-497</guid>
		<description>I tried this code, works fine with me, but when i see javascript console i get error 
 
Error: $ is not a function
Source File: /templates/ja_purity/js/ja.script.js
Line: 72
Error: $ is not a function
Source File: /media/system/js/mootools.js
Line: 53

How to eliminate these ?</description>
		<content:encoded><![CDATA[<p>I tried this code, works fine with me, but when i see javascript console i get error </p>
<p>Error: $ is not a function<br />
Source File: /templates/ja_purity/js/ja.script.js<br />
Line: 72<br />
Error: $ is not a function<br />
Source File: /media/system/js/mootools.js<br />
Line: 53</p>
<p>How to eliminate these ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ling</title>
		<link>http://www.sanjeevshrestha.com.np/2009/05/using-jquery-with-joomla/comment-page-1/#comment-252</link>
		<dc:creator>ling</dc:creator>
		<pubDate>Sat, 24 Apr 2010 22:29:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.sanjeevshrestha.com.np/?p=203#comment-252</guid>
		<description>Thanks for this very helpful tip !
I hope It will be part of future Joomla! implementations...</description>
		<content:encoded><![CDATA[<p>Thanks for this very helpful tip !<br />
I hope It will be part of future Joomla! implementations&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mrazi</title>
		<link>http://www.sanjeevshrestha.com.np/2009/05/using-jquery-with-joomla/comment-page-1/#comment-160</link>
		<dc:creator>mrazi</dc:creator>
		<pubDate>Mon, 22 Mar 2010 22:18:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.sanjeevshrestha.com.np/?p=203#comment-160</guid>
		<description>Hi

I tried to use these three lines in my code:
$document = &amp;JFactory::getDocument();$document-&gt;addScript(JPATH_SITE.’/media/system/js/jquery.js’ );$document-&gt;addScriptDeclaration ( ‘jQuery.noConflict();’ );

and Mozilla Firefox says that jQuery is not defined. I use the latest jquery. Can you help with this?</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>I tried to use these three lines in my code:<br />
$document = &amp;JFactory::getDocument();$document-&gt;addScript(JPATH_SITE.’/media/system/js/jquery.js’ );$document-&gt;addScriptDeclaration ( ‘jQuery.noConflict();’ );</p>
<p>and Mozilla Firefox says that jQuery is not defined. I use the latest jquery. Can you help with this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil</title>
		<link>http://www.sanjeevshrestha.com.np/2009/05/using-jquery-with-joomla/comment-page-1/#comment-153</link>
		<dc:creator>Neil</dc:creator>
		<pubDate>Mon, 15 Feb 2010 03:09:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.sanjeevshrestha.com.np/?p=203#comment-153</guid>
		<description>Thank you very much for this. I&#039;ll take a look at it now. Any help like this is much appreciated.
Best wishes,
Neil.</description>
		<content:encoded><![CDATA[<p>Thank you very much for this. I&#8217;ll take a look at it now. Any help like this is much appreciated.<br />
Best wishes,<br />
Neil.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Muhammad Yuqi</title>
		<link>http://www.sanjeevshrestha.com.np/2009/05/using-jquery-with-joomla/comment-page-1/#comment-152</link>
		<dc:creator>Muhammad Yuqi</dc:creator>
		<pubDate>Fri, 12 Feb 2010 06:21:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.sanjeevshrestha.com.np/?p=203#comment-152</guid>
		<description>i&#039;ll try it.. hope this is work</description>
		<content:encoded><![CDATA[<p>i&#8217;ll try it.. hope this is work</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sanjeev</title>
		<link>http://www.sanjeevshrestha.com.np/2009/05/using-jquery-with-joomla/comment-page-1/#comment-149</link>
		<dc:creator>Sanjeev</dc:creator>
		<pubDate>Thu, 28 Jan 2010 04:56:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.sanjeevshrestha.com.np/?p=203#comment-149</guid>
		<description>@Neil: I have created a plugin to use jquery with joomla. You can easily work with jQuery with the plugin without any joomla core hacks. The plugin is available at http://www.joomlaguru.com.np/freebies/plugins/12-plgosjquery.html 

There are other modules and plugins also for you to use ;)</description>
		<content:encoded><![CDATA[<p>@Neil: I have created a plugin to use jquery with joomla. You can easily work with jQuery with the plugin without any joomla core hacks. The plugin is available at <a href="http://www.joomlaguru.com.np/freebies/plugins/12-plgosjquery.html" rel="nofollow">http://www.joomlaguru.com.np/freebies/plugins/12-plgosjquery.html</a> </p>
<p>There are other modules and plugins also for you to use <img src='http://www.sanjeevshrestha.com.np/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil</title>
		<link>http://www.sanjeevshrestha.com.np/2009/05/using-jquery-with-joomla/comment-page-1/#comment-148</link>
		<dc:creator>Neil</dc:creator>
		<pubDate>Wed, 27 Jan 2010 22:52:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.sanjeevshrestha.com.np/?p=203#comment-148</guid>
		<description>I was thinking or creating a Joomla site using Jquery and was told there would be conflicts but I knew someone out there such as your good self would have covered this already. Thank you very much for sharing this information - it&#039;s brilliant.

Regards,
Neil.</description>
		<content:encoded><![CDATA[<p>I was thinking or creating a Joomla site using Jquery and was told there would be conflicts but I knew someone out there such as your good self would have covered this already. Thank you very much for sharing this information &#8211; it&#8217;s brilliant.</p>
<p>Regards,<br />
Neil.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sanjeev</title>
		<link>http://www.sanjeevshrestha.com.np/2009/05/using-jquery-with-joomla/comment-page-1/#comment-141</link>
		<dc:creator>Sanjeev</dc:creator>
		<pubDate>Tue, 05 Jan 2010 05:01:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.sanjeevshrestha.com.np/?p=203#comment-141</guid>
		<description>@keogh: The code 
$document = &amp;JFactory::getDocument();
$document-&gt;addScript(JPATH_SITE.’/media/system/js/jquery.js’ );
$document-&gt;addScriptDeclaration ( ‘jQuery.noConflict();’ );

should be written as a php code in a view not as js code as

&lt;?php
$document = &amp;JFactory::getDocument();
$document-&gt;addScript(JPATH_SITE.’/media/system/js/jquery.js’ );
$document-&gt;addScriptDeclaration ( ‘jQuery.noConflict();’ );
?&gt;

I hope this will solve the problem. Let me know if it works</description>
		<content:encoded><![CDATA[<p>@keogh: The code<br />
$document = &#038;JFactory::getDocument();<br />
$document->addScript(JPATH_SITE.’/media/system/js/jquery.js’ );<br />
$document->addScriptDeclaration ( ‘jQuery.noConflict();’ );</p>
<p>should be written as a php code in a view not as js code as</p>
<p>< ?php<br />
$document = &#038;JFactory::getDocument();<br />
$document->addScript(JPATH_SITE.’/media/system/js/jquery.js’ );<br />
$document->addScriptDeclaration ( ‘jQuery.noConflict();’ );<br />
?></p>
<p>I hope this will solve the problem. Let me know if it works</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: keogh</title>
		<link>http://www.sanjeevshrestha.com.np/2009/05/using-jquery-with-joomla/comment-page-1/#comment-140</link>
		<dc:creator>keogh</dc:creator>
		<pubDate>Mon, 04 Jan 2010 19:53:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.sanjeevshrestha.com.np/?p=203#comment-140</guid>
		<description>If I write this line

$document-&gt;addScriptDeclaration ( ‘jQuery.noConflict();’ );

I get the error -&gt; $ is not a function

If I don&#039;t write that line, no error is displayed and jQuery works fine, but I don&#039;t if by omitting that line I could get errors i the future..

Thanks!</description>
		<content:encoded><![CDATA[<p>If I write this line</p>
<p>$document-&gt;addScriptDeclaration ( ‘jQuery.noConflict();’ );</p>
<p>I get the error -&gt; $ is not a function</p>
<p>If I don&#8217;t write that line, no error is displayed and jQuery works fine, but I don&#8217;t if by omitting that line I could get errors i the future..</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
