SELECT

SELECT SELECT *
*前のトピック: SCRIPT
*次のトピック: selection

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

コレクション

all, children, filters, options

イベント

onafterupdate, onbeforeupdate, onblur, onchange, onclick, ondblclick, ondragstart, onerrorupdate, onfilterchange, onfocus, onhelp, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onresize, onrowenter, onrowexit, onselectstart

HTMLエレメント

SELECT

関連事項

OPTIONオブジェクト

Up トップに戻る
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.