diff options
Diffstat (limited to 'files/zh-cn/mozilla/tech/xul/property/selecteditem/index.html')
| -rw-r--r-- | files/zh-cn/mozilla/tech/xul/property/selecteditem/index.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/files/zh-cn/mozilla/tech/xul/property/selecteditem/index.html b/files/zh-cn/mozilla/tech/xul/property/selecteditem/index.html new file mode 100644 index 0000000000..1583c5f526 --- /dev/null +++ b/files/zh-cn/mozilla/tech/xul/property/selecteditem/index.html @@ -0,0 +1,21 @@ +--- +title: selectedItem +slug: Mozilla/Tech/XUL/Property/selectedItem +translation_of: Archive/Mozilla/XUL/Property/selectedItem +--- +<div class="noinclude"> + <span class="breadcrumbs XULRefProp_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference" title="XUL_Reference">XUL Reference</a></span></div> +<dl> + <dt> + <code><span><a href="https://developer.mozilla.org/zh-CN/docs/XUL/Property/selectedItem">selectedItem</a></span></code></dt> + <dd> + Type: + <i> + element</i> + </dd> + <dd> + Holds the currently selected item. If no item is currently selected, this value will be <code>null</code>. You can select an item by setting this value. A select event will be sent to the element when it is changed either via this property, the <code><span><a href="https://developer.mozilla.org/zh-CN/docs/XUL/Property/selectedIndex">selectedIndex</a></span></code> property, or changed by the user.</dd> +</dl> +<div class="noinclude"> + </div> +<p></p> |
