Resolve Mootools & jQuery Conflict

The correct place for the jQuery.noConflict() call would be after mootools, after jQuery (which you’ve got in the right order – mootools first, then jQuery), and before any other javascript code that makes use of either.

<script type="text/javascript">jQuery.noConflict();</script>

also substitute jQuery for the $, or wrapping them in this pattern:

(function($){

  // code with the jQuery $ can safely go in here

})(jQuery);

Pin It on Pinterest