Multiple javascript library coexist on single page using ___________________

Options
- conflict()
- noConflict()
- unbind()
- die()


CORRECT ANSWER : noConflict()

Discussion Board
Multiple javascript library coexist on single page

multiple javascript libraries like node.js, angular.js, jquery can be implemented in a same website. The $ sign may be used in other libraries to so which might cause some functions not to work as it is over ridded by other libraries. To prevent that we will be using noConflict() method.

Example:
Assign a variable instead of $ sign.

var jq = $.noConflict();
jq.(document).ready(function{
jr("p").click()l
});

or u can use jquery without declaring
jquery(document).ready(function{

});

Eswar 06-14-2016 05:43 AM

Jquery

I couldn't understand about it. please let me explain

Nitesh 09-28-2015 02:00 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement