jquery onclick on div prevent in child 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();
});