Stop only an event from bubbling by using the stopPropagation method. : Event « jQuery « JavaScript DHTML
- JavaScript DHTML
- jQuery
- Event
Stop only an event from bubbling by using the stopPropagation method.
$("form").bind("submit", function(event){
event.stopPropagation();
});
Related examples in the same category