この記事はまだボランティアによって 日本語 に翻訳されていません。ぜひ MDN に参加して翻訳を手伝ってください!
この記事を English (US) で読むこともできます。

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

ドキュメントのタグと貢献者

このページの貢献者: mfluehr, fscholz, teoli, Nickolay, Sheppy, ethertank, louisremi
最終更新者: mfluehr,