blob: f436308d8909a1cb80ecf879f7b7fd795ed1af31 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
---
title: value
slug: Mozilla/Tech/XUL/Attribute/value
tags:
- XUL Attributes
translation_of: Archive/Mozilla/XUL/Attribute/value
---
<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-value"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/value">value</a></code></dt>
<dd>
Type:
<i>
string</i>
</dd>
<dd>
The string attribute allows you to associate a data value with an element. It is not used for any specific purpose, but you can access it with a script for your own use.</dd>
</dl>
<div class="noinclude">
<h3 id="See_also" name="See_also">See also</h3>
<ul>
<li><a href="cn/XUL/Attribute/label.value">label.value</a></li>
<li><a href="cn/XUL/Attribute/progressmeter.value">progressmeter.value</a></li>
<li><a href="cn/XUL/Attribute/textbox.value">textbox.value</a></li>
<li><a href="cn/XUL/Attribute/textnode.value">textnode.value</a></li>
</ul>
</div>
<p></p>
|