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