---
title: selectedIndex
slug: Archive/Mozilla/XUL/Property/selectedIndex
tags:
  - XUL Properties
  - XUL Reference
translation_of: Archive/Mozilla/XUL/Property/selectedIndex
---
<div class="noinclude"><span class="breadcrumbs XULRefProp_breadcrumbs">« <a href="/ja/docs/XUL_Reference" title="XUL_Reference">XUL リファレンス</a></span></div>
<dl><dt> <code><span><a href="https://developer.mozilla.org/ja/docs/XUL/Property/selectedIndex">selectedIndex</a></span></code> </dt><dd> 型: <em>整数型</em> </dd><dd> 選択された項目の index を返します。また、このプロパティに index を設定して項目を選択する事もできます。このプロパティに <code>-1</code> を設定すると、項目の選択をすべて解除します。 </dd></dl>
<div class="noinclude">

</div>