SELECT
![]() |
![]() |
![]() |
![]() ![]() |
SELECT
解説
リストボックスまたはドロップダウンリストを表示する。
例
次のJScript例は、既にあるSELECTリストの最後に新しい選択肢を追加している。
var oOption = document.createElement("OPTION"); oOption.text="Apples"; oOption.value="5"; document.all.MyList.add(oOption);プロパティ
accessKey, className, dataFld, dataSrc, disabled, document, form, id, isTextEdit, lang, language, length, multiple, name, offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth, outerHTML, outerText, parentElement, parentTextEdit, recordNumber, selectedIndex, size, sourceIndex, style, tabIndex, tagName, type, value
メソッド
add, blur, click, contains, focus, getAttribute, insertAdjacentHTML, insertAdjacentText, item, remove, removeAttribute, scrollIntoView, setAttribute, tags
コレクション
イベント
onafterupdate, onbeforeupdate, onblur, onchange, onclick, ondblclick, ondragstart, onerrorupdate, onfilterchange, onfocus, onhelp, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onresize, onrowenter, onrowexit, onselectstart
HTMLエレメント
関連事項
OPTIONオブジェクト
トップに戻る
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.