INPUT
前のトピック: IMG 次のトピック: INS |
INPUT
解説
以下のいずれかの入力コントロールを指定する。
button checkbox file hidden image password radio reset submit text コレクション
HTMLエレメント
関連事項
INPUT type=button
解説
ボタンコントロールを作成する。
プロパティ
accessKey, className, dataFld, dataFormatAs, dataSrc, disabled, document, form, id, isTextEdit, lang, language, name, offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth, outerHTML, outerText, parentElement, parentTextEdit, readOnly, recordNumber, sourceIndex, style, tabIndex, tagName, title, type, value
メソッド
blur, click, contains, createTextRange, focus, getAttribute, insertAdjacentHTML, insertAdjacentText, removeAttribute, scrollIntoView, select, setAttribute
コレクション
イベント
onblur, onclick, ondblclick, onfocus, onhelp, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onresize, onselect
HTMLエレメント
関連事項
BUTTONオブジェクト
INPUT type=checkbox
解説
単純な論理値や、同時にいくつかの値を持つ場合に使用される。
注意事項
このエレメントは複数のチェックボックスコントロールとして表示され、それぞれは同じnameを持つ。チェックボックスがチェックされるとそれぞれはname/valueの対を送信データの中に含める。このとき同じnameであっても問題ない。チェックボックスのデフォルト値はonである。
プロパティ
accessKey, checked, className, dataFld, dataSrc, defaultChecked, disabled, document, form, id, indeterminate, isTextEdit, lang, language, name, offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth, outerText, parentElement, parentTextEdit, recordNumber, size, sourceIndex, status, style, tabIndex, tagName, title, type, value
メソッド
blur, click, contains, focus, getAttribute, insertAdjacentHTML, insertAdjacentText, removeAttribute, scrollIntoView, select, setAttribute
コレクション
イベント
onafterupdate, onbeforeupdate, onblur, onchange, onclick, ondblclick, onerrorupdate, onfilterchange, onfocus, onhelp, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onresize, onselect
HTMLエレメント
INPUT type=file
解説
ファイルを送信する。
プロパティ
accessKey, className, defaultValue, disabled, document, form, id, isTextEdit, lang, language, name, offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth, outerText, parentElement, parentTextEdit, readOnly, recordNumber, sourceIndex, style, tabIndex, tagName, title, type, value
メソッド
blur, click, contains, focus, getAttribute, insertAdjacentHTML, insertAdjacentText, removeAttribute, scrollIntoView, select, setAttribute
コレクション
イベント
onblur, onchange, onclick, ondblclick, onfilterchange, onfocus, onhelp, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onresize, onselect
HTMLエレメント
INPUT type=hidden
解説
クライアント/サーバー間のやり取りの状態についての情報を送信する。
注意事項
この値は、ユーザーには表示されないが、valueプロパティの値は送信データと共に送信される。
プロパティ
className, dataFld, dataSrc, disabled, document, form, id, isTextEdit, language, name, parentElement, parentTextEdit, sourceIndex, style, tagName, type, value
メソッド
イベント
HTMLエレメント
INPUT type=image
解説
クリッカブルイメージのコントロールを指定する。クリックされるとフォームはすぐに送信される。
注意事項
x座標はコントロール名の後に*.xが付けられて送信され、y座標はコントロール名の後に.y*が付けられて送信される。valueプロパティは無視される。画像はIMGエレメントのsrcプロパティで指定される。
プロパティ
accessKey align, alt, className, complete, disabled, document, dynsrc, filter, form, height, id, innerHTML, isTextEdit, language, loop, lowsrc, name, offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth, outerHTML, outerText, parentElement, parentTextEdit, readyState, recordNumber, sourceIndex, src, start, style, tabIndex, tagName, title, type width
メソッド
blur, click, contains, focus, getAttribute, insertAdjacentHTML, insertAdjacentText, removeAttribute, scrollIntoView, select, setAttribute
コレクション
イベント
onabort, onafterupdate, onbeforeupdate, onblur, onchange, onclick, ondataavailable, ondatasetchanged, ondatasetcomplete, ondblclick, onerror, onerrorupdate, onfocus, onhelp, onkeydown, onkeypress, onkeyup, onload, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onresize, onrowenter, onrowexit, onselect
HTMLエレメント
関連事項
IMGオブジェクト
INPUT type=password
解説
入力した文字が表示されないということ以外は、textコントロールと同じである。
プロパティ
accessKey, align, className, dataFld, dataSrc, defaultValue, disabled, document, form, id, isTextEdit, lang, language, maxLength, name, offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth, outerHTML, outerText, parentElement, parentTextEdit, readOnly, size, sourceIndex, style, tabIndex, tagName, title, type, value
メソッド
blur, click, contains, focus, getAttribute, insertAdjacentHTML, insertAdjacentText, removeAttribute, scrollIntoView, select, setAttribute
コレクション
イベント
onblur, onchange, onclick, ondblclick, onfocus, onhelp, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onresize, onselect
HTMLエレメント
INPUT type=radio
解説
複数の選択肢の中から1つだけ選ぶような場合に使用する。
注意事項
グループ内の各ラジオボタンコントロールは、同じnameでなければならない。選択されたラジオボタンのname/valueの対だけが送信データの中に含まれる。ラジオボタンはvalueプロパティが必要である。
プロパティ
accessKey, checked, className, dataFld, dataSrc, defaultChecked, disabled, document, form, id, isTextEdit, lang, language, name, offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth, outerText, parentElement, parentTextEdit, recordNumber, size, sourceIndex, style, tabIndex, tagName, title, type, value
メソッド
blur, click, contains, focus, getAttribute, insertAdjacentHTML, insertAdjacentText, removeAttribute, scrollIntoView, select, setAttribute
コレクション
イベント
onafterupdate, onbeforeupdate, onblur, onchange, onclick, ondblclick, onerrorupdate, onfocus, onhelp, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onresize, onselect
HTMLエレメント
INPUT type=reset
解説
押されたときにフォームのコントロールが初期値になるリセットボタンを表す。submitボタンと同様に、表示されるラベルを指定できる。
プロパティ
accessKey, className, disabled, document, form, id, isTextEdit, lang, language, name, offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth, outerHTML, outerText, parentElement, parentTextEdit, recordNumber, sourceIndex, style, tabIndex, tagName, title, type, value
メソッド
blur, click, contains, focus, getAttribute, insertAdjacentHTML, insertAdjacentText, removeAttribute, scrollIntoView, select, setAttribute
コレクション
イベント
onblur, onclick, ondblclick, onfilterchange, onfocus, onhelp, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onresize, onselect
HTMLエレメント
関連事項
BUTTONオブジェクト
INPUT type=submit
解説
押されたときにフォームを送信するSUBMITボタンを表す。
注意事項
表示されるラベルはvalue属性で指定できる。デフォルトラベルはアプリケーションによる。フォームを送信するためにSUBMITボタンが押された時、そのボタンにname属性が設定されていれば、name/valueの対を送信データの中に含める。
プロパティ
accessKey, className, disabled, document, form, id, isTextEdit, lang, language, name, offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth, outerHTML, outerText, parentElement, parentTextEdit, recordNumber, sourceIndex, style, tabIndex, tagName, title, type, value
メソッド
blur, click, contains, focus, getAttribute, insertAdjacentHTML, insertAdjacentText, removeAttribute, scrollIntoView, select, setAttribute
コレクション
イベント
onblur, onclick, ondblclick, onfilterchange, onfocus, onhelp, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onresize, onselect
HTMLエレメント
関連事項
BUTTONオブジェクト
INPUT type=text
解説
プロパティ
accessKey, align, className, dataFld, dataSrc, defaultValue, disabled, document, form, id, innerHTML, isTextEdit, lang, language, maxLength, name, offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth, outerHTML, outerText, parentElement, parentTextEdit, readOnly, recordNumber, size, sourceIndex, style, tabIndex, tagName, title, type, value
メソッド
blur, click, contains, createTextRange, focus, getAttribute, insertAdjacentHTML, insertAdjacentText, removeAttribute, scrollIntoView, select, setAttribute
コレクション
イベント
onafterupdate, onbeforeupdate, onblur, onchange, onclick, ondblclick, onerrorupdate, onfilterchange, onfocus, onhelp, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onresize, onselect
HTMLエレメント
関連事項
TEXTAREAオブジェクト
トップに戻る
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.