Created
December 3, 2011 08:56
-
-
Save aflc/1426599 to your computer and use it in GitHub Desktop.
jQuery tutorial
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.js"></script> | |
<script type="text/javascript"> | |
$(document).ready(function() { | |
$("a").click(function() { | |
alert("Hello world"); | |
}); | |
}); | |
</script> | |
</head> | |
<body> | |
<a href="">link<a> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment