Skip to content

Instantly share code, notes, and snippets.

@bmac
Created May 21, 2012 01:32
Show Gist options
  • Save bmac/2760220 to your computer and use it in GitHub Desktop.
Save bmac/2760220 to your computer and use it in GitHub Desktop.
Use of event.preventDefault();
$('.js-link').click(function(event) {
handleClickEvent(this, event);
event.preventDefault();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment