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.

What Causes Slow InternetWhat Causes Slow Internet
Fri, Nov 28th, 2014 - Yoga Sdr

Internet Connection Issues

A slow internet connection can be caused or contributed to by several di [ ... ]

Basic Steps to Architecture Security on Corporate SystemsBasic Steps to Architecture Security on Corporate ...
Tue, Oct 15th, 2013 - Yoga Sdr

Security on one’s property is crucial. Computer security is a practice that should be carried out  [ ... ]

Reputedly, Sony Will Release 12 Inch Tablet Early Next YearReputedly, Sony Will Release 12 Inch Tablet Early ...
Mon, Nov 03rd, 2014 - Yoga Sdr

The rumour is from Taiwan as the headquarters of Sony. It is reported that Sony will release 12 inch [ ... ]

Bowflex TreadClimber Review - The Best Machine for...
Sat, Mar 04th, 2017 - Yoga Sdr

The Bowflex TreadClimber is a combination exercise machine that works as a treadmill and a stair cli [ ... ]

ARChon, A Tool To Make Android Application Can run on Chrome BrowserARChon, A Tool To Make Android Application Can run...
Fri, Oct 31st, 2014 - Yoga Sdr

Recent days, Google makes an innovation for Chrome OS. Usually, it has been built-up with Chromebook [ ... ]

7 Things to Think About When Starting an e-Commerce Website7 Things to Think About When Starting an e-Commerc...
Wed, Oct 01st, 2014 - Yoga Sdr

ONE OF THE MOST APPEALING ASPECTS OF E-COMMERCE IS THAT IT HAS THE ABILITY TO HAVE AN IMMEDIATE IMPA [ ... ]

Successful Online Business Checklist
Thu, Jul 23rd, 2015 - Yoga Sdr

Every day, thousands of new online businesses are developing. Business minded people are starting to [ ... ]

The Best Type of Website for Your BusinessThe Best Type of Website for Your Business
Tue, Oct 07th, 2014 - Yoga Sdr

Websites are a very powerful tool. Not only are they essential for publicising your business to a lo [ ... ]

Hot Web Learning

A Quick Overview on Managed Server Hosting
Tue, October 07th, 2014 - Yoga SdrA Quick Overview on Managed Server Hosting

A managed server hosting indicates a service which has all of the necessary equipments like software [ ... ]

Other Articles