I think you are looking instead for the stopPropagation() method:
$('#buttonId').live("click", function (e) { e.stopPropagation();
If your button is a link ( <a> tag), you should also prevent by default or use return false;
BTW, live is out of date, you have to use . on () instead of deletion syntax, for example:
$(document).on('click', '#buttonId', function(e){ e.stopPropagation();
source share