JQuery and Mootools are two of the Javascript Frameworks which are the most popular in website world. The two both are the most widely used frameworks even though there are several javascript frameworks which seem monotone, not interactive and doesn’t cool. However, using this in a certain website application is optional according to the users whether love and need to use it or not.

But, thanks to the Javascript framework, it makes web developer easier to develop the application in website. Then, the next question is: can developer use the two both simultaneously in one application?  The answer is, yes, the two both can be used in the same application. Otherwise, if you load the two both at the same time simultaneously, it definitely occur a conflict. What you have to be paid attention is jQuery uses $ for shortcut calling jQuery whereas Mootols uses $() to shorten calling document.getElementById().

But, you don’t have to worry because jQuery has already prepared function line which could be used to accomplish this conflict. The way is by adding function jQuery.noConflict() at the line after calling library jQuery.

<script type="text/javascript" src="/mootools.js"></script>
<script type="text/javascript" src="/jquery.js"></script>
<script type="text/javascript">
jQuery.noConflict();
</script>

For the usage, you can use jQuery word as the change of $ symbol. For instance:

jQuery(document).ready(function() {

jQuery(''#id'').html(''Hello World'');

});


If the jQuery use is too long, you could choose the alternative way by adding jQuery.noConflict() to a certain variable.

var thisShortcutforJquery = jQuery.noConflict();

//use that variable as the change of jQuery

thisShortcutforJquery (document).ready(function() {

thisShortcutforJquery (''#id'').html(''Hello World'');

});

In that way, the conflict matter between jQuery and Mootols has been accomplished properly. And then the two both could be used together to develop a particular application in website.

Benefіts of Usage Screen Capture HardwareBenefіts of Usage Screen Capture Hardware
Tue, Sep 18th, 2012 - Yoga Sdr

Remote deрosit allowѕ an individual оr business to make a chеck depoѕіt outside of a finаncі [ ... ]

Using X-Ray Inspection To Survey PropertyUsing X-Ray Inspection To Survey Property
Wed, Nov 05th, 2014 - Yoga Sdr

When a business has made a massive investment in a piece of property, they need to make sure that th [ ... ]

Getting Information About UB04 Form and BenefitsGetting Information About UB04 Form and Benefits
Tue, Jan 22nd, 2013 - Yoga Sdr

Do you want to acquire a UB04 form carried out for an insurance corporation? What exactly is a UB04  [ ... ]

Cutting Edge Photo-Sharing
Wed, Apr 29th, 2015 - Yoga Sdr

If you’re a tech guru, you’ve heard of Shutterfly. People love captivating images and Shutterfly [ ... ]

Ultrabook Vs Netbook: The New Age Portable LaptopsUltrabook Vs Netbook: The New Age Portable Laptops
Fri, Nov 30th, 2012 - Yoga Sdr

Both the Ultrabook computer and notebook share similar characteristics, with many differences in bet [ ... ]

Now, Skype has a Video Messaging ServiceNow, Skype has a Video Messaging Service
Sun, Mar 03rd, 2013 - Yoga Sdr

Skype just released a new service, Video Messaging to improve their service for public. This new ser [ ... ]

How to use Online Marketing in BusinessHow to use Online Marketing in Business
Sat, May 18th, 2013 - Yoga Sdr

Businesses world over have undergone evolution, the ways of doing business have changed. With techno [ ... ]

Motorola Droid Turbo, A New Whiz Presented by MotorolaMotorola Droid Turbo, A New Whiz Presented by Moto...
Tue, Oct 14th, 2014 - Yoga Sdr

It is reported that Motorola will release a high-end android Verizon product called Droid Turbo. Wha [ ... ]

Hot Web Learning

Guide to Using Images in Your Blog Posts
Sat, May 04th, 2013 - Yoga SdrGuide to Using Images in Your Blog Posts

Images can make your blog much more interesting to readers. When used correctly, they can even help  [ ... ]

Other Articles