Jquery Noconflict Example - Jquery

What is noconflict method in jquery?

Snippet Code

Rate this page :
  [ 0 votes]

Noconflict is a method in jquery which is used to release the hold call in shortcut identifier. After the execution of the noconflict other scripts can use it. Here, we can use jquery also by writing the name instead of shortcut.

<script src='http://code.jquery.com/jquery-1.9.1.js'></script> <script> $.noConflict(); jQuery(document).ready(function(){ jQuery("button").click(function(){ jQuery("p").text("This is NoConflict Example"); }); }); </script> <p>This is a paragraph tag.</p> <button>Test Here.</button>


Ask Questions

Ask Question