Feb 14

jquery noconflict

Jquery-noconflict use for create new object for jquery. if we use by default  object $ and use more than one library of  javascript on single page then many library will be conflict with jquery library and function will not work properly. So, if we use many library of javascript on a single page then we can use jquery- noconflict for create new object of jquery.




That means code will be write with $ sign of jquery.


//Some Code write here



Means code will be write with JQuery word of jquery.


//Write some code


var J = jQuery.noConflict();

This means new object J is create for jquery function. and we can write code with new object J


//write some code here



1 comment

  1. sikis izle

    excelente artículo.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>