diff options
Diffstat (limited to 'files/ja/archive/mozilla/xul/method/getselecteditem/index.html')
| -rw-r--r-- | files/ja/archive/mozilla/xul/method/getselecteditem/index.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/files/ja/archive/mozilla/xul/method/getselecteditem/index.html b/files/ja/archive/mozilla/xul/method/getselecteditem/index.html new file mode 100644 index 0000000000..e25aa4ffcb --- /dev/null +++ b/files/ja/archive/mozilla/xul/method/getselecteditem/index.html @@ -0,0 +1,15 @@ +--- +title: getSelectedItem +slug: Archive/Mozilla/XUL/Method/getSelectedItem +tags: + - XUL Methods + - XUL Reference +translation_of: Archive/Mozilla/XUL/Method/getSelectedItem +--- +<div class="noinclude"> + <span class="breadcrumbs XULRefMeth_breadcrumbs">« <a href="/ja/docs/XUL_Reference" title="/ja/docs/XUL_Reference">XUL リファレンス HOME</a></span></div> +<dl> + <dt><span id="m-getSelectedItem"><code><a href="https://developer.mozilla.org/ja/docs/Mozilla/Tech/XUL/Method/getSelectedItem">getSelectedItem( index )</a></code></span></dt> + <dd>戻り値の型: <em>要素</em></dd> + <dd>複数の項目が選択されている時、このメソッドを使用して選択された各項目を取得することができます。引数 <var>index</var> は選択された項目のリストの <var>index</var> を指定します。項目の行番号ではありません。項目の <var>index</var> は 0 を基点とします。次の例は選択された最初の項目を返します: <code>getSelectedItem(0)</code></dd> +</dl> |
