prevent from going to a function html click
snippet in html

prevent from going to a function html click

user3909

$("#clickable a").click(function(e) {
   // Do something
   e.stopPropagation();
});