If you are using mootool and jquery same time in your html pages, it normally won’t work. Because both are using $ variable for the base object. So only the last js file included will be active.


To avoid this, follow the steps:

Include mootool js first
Include jquery js file second

Like this:

Then type:

For mootool functions, continue with $ object and jQuery function , user *jQuery *object

For example , instead of $(“#div”), user jQuery(“#div”), another example is jQuery(“.common”).load(‘myfile.php’)

Enjoy Coding !!!

— Sajith