Saturday, 4 August 2018
DOLLAR SIGN $ USE IN JAVA SCRIPT WITH JQUERY FILE
-------------------------------------------------------------------------------------------------------------
DOLLAR SIGN $ USE IN JAVA SCRIPT WITH JQUERY FILE
BECAUSE WITHOUT JQUERY FILE CODE DOES NOT WORK
-------------------------------------------------------------------------------------------------------------
<html>
<!-- http://www.yogihosting.com/category/jquery/
-->
<!--
https://www.quora.com/What-does-the-dollar-sign-mean-in-jQuery -->
<!-- WITOUT JQUERY MIN FILE CODE DOESNOT
WORK-->
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
</head>
<body>
<button id="myButton">Click me</button>
<script>
$(document).ready(function() {
jQuery("#myButton").click(function() {
alert("button is
clicked");
});
});
</script>
</body>
</html>
-------------------------------------------------------------------------------------------------------------?
+
X
Recommended for you
Loading..
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment