.defaultPrevented

Term side of the Card
Topic: Event
Unit title: .defaultPrevented
Categories: Property
Explanation side of the Card

Explanation: The browser API property that indicates whether the event's default action has been prevented. If `true`, the event's default behavior, such as reloading the page on form submission, will not occur.

Browser compatibility:
  • The chrome browser supports this feature starting from version 5
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 6
  • The safari browser supports this feature starting from version 5
Availability: