Menu

Load jQuery Module

November 19th, 2011

Does your Joomla site need jQuery and MooTools?

According to some websites how we can use both frameworks is as follows:

1.Load jQuery
2.Execute “jQuery.noConflict();”
3.Load MooTools
4.Execute javascript as follows:

– Normal way for Mootools
– Using “jQuery” instead of “$” for jQuery

It depends on what Joomla extension you use, but my website started displaying javascript errors when I used both Mootools and jQuery because it just loaded MooTools at first.

So I made a module that loads jQuery as avoiding the confliction when you try using them together. This jQuery module loads each framework as it should be.