diff options
Diffstat (limited to 'files/ja/web/api/window/onreset')
-rw-r--r-- | files/ja/web/api/window/onreset/index.html | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/files/ja/web/api/window/onreset/index.html b/files/ja/web/api/window/onreset/index.html deleted file mode 100644 index c9862667e8..0000000000 --- a/files/ja/web/api/window/onreset/index.html +++ /dev/null @@ -1,57 +0,0 @@ ---- -title: window.onreset -slug: Web/API/Window/onreset -tags: - - DOM - - Gecko - - Gecko DOM Reference - - Window -translation_of: Web/API/GlobalEventHandlers/onreset ---- -<div> - {{ApiRef}}</div> -<h2 id="Summary" name="Summary">概要</h2> -<p>フォームの <code>reset</code> イベントに対応するイベントハンドラです。</p> -<h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox">window.onreset = <var>funcRef</var>; -</pre> -<h3 id="Parameters" name="Parameters">引数</h3> -<ul> - <li><var>funcRef</var> : 関数への参照、または関数式</li> -</ul> -<h2 id="Example" name="Example">例</h2> -<pre class="brush:html"><!DOCTYPE html> -<html lang="ja"> -<head> -<meta charset="UTF-8" /> -<title>onreset のテスト</title> - -<script> -function reg() { - window.onreset = hit; -} - -function hit() { - alert('リセットイベントが発生しました。'); -} -</script> - -</head> -<body onload="reg();"> - -<form> - <div> - <textarea></textarea> - </div> - <div> - <input type="reset" value="reset" /> - </div> -</form> - -</body> -</html> -</pre> -<h2 id="Notes" name="Notes">注記</h2> -<p>reset イベントは、ユーザがフォーム内のリセットボタン (<code><input type="reset"/></code>) をクリックした際に発生します。</p> -<h2 id="Specification" name="Specification">仕様</h2> -<p>標準仕様書には含まれていません。</p> |