prevent onclick event button code example
Example: prevent from going to a function html click
$("#clickable a").click(function(e) {
// Do something
e.stopPropagation();
});
$("#clickable a").click(function(e) {
// Do something
e.stopPropagation();
});