Get to know MDN better
このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2015年7月.
reset イベントは <form> がリセットされたときに発行されます。
このイベント名を addEventListener() 等のメソッドで使用するか、イベントハンドラープロパティを使用するかしてください。
一般的な Event です。
この例は EventTarget.addEventListener() を使用してフォームがリセットされるのを、実行されたときに現在の Event.timeStamp をログ出力します。
| HTML # event-reset |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2023年6月20日 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.