Recommended:

  • phpclasses.org
  • jsclasses.org
  • jsmag.com
  • siteapps.com
  • View our reviews on Hot Scripts
  • JS Tutorial
  • scripts.com
  • securesignup.com




Recent Comments

Powered by Disqus




Back to articles

jQuery and Mootools conflict

Since both jQuery and Mootools use symbol $ in their syntax, every time you'll use both of them you'll get a conflict. Web browser won't know to which function you are referring to. To avid this, you can use jQuery no conflict mode.

To enable it, you need to put this in your code:

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

And then you can use jQuery by replacing $ symbol with jQuery like jQuery(document).ready(function() {}


You may also be interested in:

Powered by BlogAlike.com

blog comments powered by Disqus