aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/html/element/input
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/html/element/input')
-rw-r--r--files/zh-cn/web/html/element/input/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/html/element/input/index.html b/files/zh-cn/web/html/element/input/index.html
index 6747278313..2c35a8ea74 100644
--- a/files/zh-cn/web/html/element/input/index.html
+++ b/files/zh-cn/web/html/element/input/index.html
@@ -578,7 +578,7 @@ translation_of: Web/HTML/Element/input
<p>When the form above is submitted, the input cause both the <code>name</code> / <code>value</code> pair of <code>fruit=cherry</code> and the <code>dirname</code> / direction pair of <code>fruit.dir=ltr</code> to be sent.</p>
</dd>
<dt>{{ htmlattrdef("disabled") }}</dt>
- <dd>这个布尔属性表示此表单控件不可用。 特别是在禁用的控件中, <code>click</code> 事件 <a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#enabling-and-disabling-form-controls" title="http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#enabling-and-disabling-form-controls">将不会被分发</a> 。 并且,禁用的控件的值在提交表单时也不会被提交。如果 <strong>type</strong> 属性为  <span style="font-family: courier new;">hidden</span>,此属性将被忽略。</dd>
+ <dd>这个布尔属性表示此表单控件不可用。 特别是在禁用的控件中, <code>click</code> 事件 <a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#enabling-and-disabling-form-controls">将不会被分发</a> 。 并且,禁用的控件的值在提交表单时也不会被提交。如果 <strong>type</strong> 属性为  <span style="font-family: courier new;">hidden</span>,此属性将被忽略。</dd>
</dl>
<div class="note"><strong>Note:</strong> Although not required by the specification, Firefox will by default <a href="https://stackoverflow.com/questions/5985839/bug-with-firefox-disabled-attribute-of-input-not-resetting-when-refreshing">persist the dynamic disabled state</a> of an <code>&lt;input&gt;</code> across page loads. Use the {{htmlattrxref("autocomplete","input")}} attribute to control this feature.</div>