Skip to content

Instantly share code, notes, and snippets.

@simonewebdesign
Created February 24, 2013 21:31
Show Gist options
  • Save simonewebdesign/5025734 to your computer and use it in GitHub Desktop.
Save simonewebdesign/5025734 to your computer and use it in GitHub Desktop.
$("a").on("click", function(e){
return false;
/* in theory its just like:
* e.preventdefault();
* e.stopImmediatePropagation();
* but this is true only when you are using jQuery.
* * * * * * * * * * * * * * * * * * * * * * * * */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment