Jquery No Conflict and ready event | Angular | ASP.NET Tutorials

For Consultation : +91 9887575540

Stay Connected :

let me tell you that what is the purpose of document ready function in jQuery and purpose of no conflict function in jQuery

<!DOCTYPE html>
<html xmlns=”http://www.w3.org/1999/xhtml”>
<script src=”jquery-2.1.4.js”></script>

var yogesh = jQuery.noConflict();
yogesh(document).ready(function () {
yogesh(“#btn”).click(function () {
alert(“Hello Button is clicked”);

</head>Download Source Code

<input type=”button” id=”btn” value=”Click Me” />