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

Noconflict2

2. You can create your own JQuery shortcut Identifier.

Noconflict1

Advertisements
Posted in Jquery. 1 Comment »

One Response to “What is the use of . noConflict() Method In Jquery ?”

  1. Learn Jquery with in 15 hrs | Chandradev's Blog Says:

    […] 17. What is the use of . noConflict() Method In Jquery ? […]


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: