event.target.prevent() in jquery code example
Example 1: jquery preventdefault
$("a").click(function(event){
event.preventDefault();
});
Example 2: jquery prevent event bubbling
$('myclass').bind('amodaldestroy'), function(event) {
....does something....
event.stopPropagation();
});