diff options
Diffstat (limited to 'files/zh-cn/mozilla/tech/xul/attribute/selected/index.html')
| -rw-r--r-- | files/zh-cn/mozilla/tech/xul/attribute/selected/index.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/selected/index.html b/files/zh-cn/mozilla/tech/xul/attribute/selected/index.html new file mode 100644 index 0000000000..47971cd8c8 --- /dev/null +++ b/files/zh-cn/mozilla/tech/xul/attribute/selected/index.html @@ -0,0 +1,28 @@ +--- +title: selected +slug: Mozilla/Tech/XUL/Attribute/selected +tags: + - XUL Attributes +translation_of: Archive/Mozilla/XUL/Attribute/selected +--- +<div class="noinclude"> + <span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div> +<dl> + <dt> + <code id="a-selected"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/selected">selected</a></code></dt> + <dd> + Type: + <i> + boolean</i> + </dd> + <dd> + Indicates whether the element is selected or not. This value is read-only. To change the selection, set either the <code><span><a href="https://developer.mozilla.org/zh-CN/docs/XUL/Property/selectedIndex">selectedIndex</a></span></code> or <code><span><a href="https://developer.mozilla.org/zh-CN/docs/XUL/Property/selectedItem">selectedItem</a></span></code> property of the containing element.</dd> +</dl> +<div class="noinclude"> + <h3 id="See_also" name="See_also">See also</h3> + <ul> + <li><a href="cn/XUL/Attribute/prefpane.selected">prefpane.selected</a></li> + <li><a href="cn/XUL/Attribute/tab.selected">tab.selected</a></li> + </ul> +</div> +<p></p> |
