What is the Use of .noConflict() Method in Jquery?

Do you ever think the scenario if you have to use other JavaScript Framework which has $ Symbol Identifier and JQuery function has also $ symbol Identifier in same html page? Does the JQuery function work?

No it does not work. There will be conflict with other F/w Function.

Then you can solve that conflict using .noConflict() method

Suppose if you want to create your own shortcut in JQuery then how can you create in JQuery?

Using .noConflict method you can create your own shortcut.

Advantage of .noConclict() method

  1. You can avoid the conflict in JQuery and other JavaScript F/w.

    jquery function

  2. You can create your own JQuery shortcut Identifier.

    jquery sortcut identifier
Ebook Download
View all
Learn
View all