Skip to content

Instantly share code, notes, and snippets.

@vsizov
Created September 4, 2012 07:23
Show Gist options
  • Save vsizov/3617972 to your computer and use it in GitHub Desktop.
Save vsizov/3617972 to your computer and use it in GitHub Desktop.
Test
<html>
<head>
<script type="text/javascript" src="http://code.jquery.com/jquery.min.js"></script>
<script type="text/javascript">
$(function(){
$("a").click(function(e){
alert("vfvfvf");
e.preventDefault();
});
});
</script>
</head>
<body>
<a href="#cdcdcd">cdcdcd</a>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment