Returns whether event.preventDefault() was ever called on this event object.
version added: 1.3
This method does not accept any arguments.
Examples:
Checks whether event.preventDefault() was called.
$( "a" ).click(function( event ) { alert( event.isDefaultPrevented() ); // false event.preventDefault(); alert( event.isDefaultPrevented() ); // true });
Please login to continue.