Saturday, 4 August 2018

DOLLAR SIGN $ USE IN JAVA SCRIPT WITH JQUERY FILE

DOLLAR SIGN USE $ IN JAVA SCRIPT


-------------------------------------------------------------------------------------------------------------
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>
-------------------------------------------------------------------------------------------------------------

0 comments:

Post a Comment

FB Gadgets | Template Designed by Fatakat PhotosCoolBThemes.com
Code by : paid web directory

https://www.google.co.uk/search?q=site%3Ablogspot.com+fbgadgets