event.isDefaultPrevented() Returns: Boolean
Description: Returns whether event.preventDefault() was ever called on this event object.
-
version added: 1.3event.isDefaultPrevented()
-
This method does not accept any arguments.
-
Example:
Checks whether event.preventDefault() was called.
1
2
3
4
5
|
|