Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mootools & Jquery Conflict #23

Open
nagac opened this issue Dec 27, 2013 · 1 comment
Open

Mootools & Jquery Conflict #23

nagac opened this issue Dec 27, 2013 · 1 comment

Comments

@nagac
Copy link

nagac commented Dec 27, 2013

I am using Mootools and jQuery in of my project and the simple modal doesn't work after integrating jQuery.

Your help is highly appreciable.

cheers,

@arceliver
Copy link

Hi nagac, you need to put jQuery in no conflict mode.

First of all you need to load your jQuery library, then you need to put the code:
jQuery.noConflict();

This will make jQuery use just the jQuery call and not the $. So, mootools library will always see the $.
And now you can load the mootools library ad use the simple modal.
But remember to always use jQuery instead of $ if you are using jQuery, and to use $ if you are using mootools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants