Unsere Freiwilligen haben diesen Artikel noch nicht in Deutsch übersetzt. Machen Sie mit und helfen Sie, das zu erledigen!
Sie können den Artikel auch auf English (US) lesen.

The invalid event fires when a submittable element has been checked for validity and doesn't satisfy its constraints. The validity of submittable elements is checked before submitting their owner <form>, or after the checkValidity() method of the element or its owner <form> is called.

General info

Interface Event
Bubbles No
Cancelable Yes
Targets Element
Default Action Varies (can prevent form from being submitted)

Properties

Property Type Description
target Read only EventTarget The event target (the topmost target in the DOM tree).
type Read only DOMString The type of event.
bubbles Read only Boolean Whether the event normally bubbles or not.
cancelable Read only Boolean Whether the event is cancellable or not.

Specification

HTML5

See also

Schlagwörter des Dokuments und Mitwirkende

Mitwirkende an dieser Seite: mdnwebdocs-bot, mfluehr, fscholz, teoli, Nickolay, Sheppy, ethertank, louisremi
Zuletzt aktualisiert von: mdnwebdocs-bot,