Resolve Mootools & jQuery Conflict

  • Post category:AJAX
  • Post comments:0 Comments

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:


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