aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/htmlformelement/submit/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/htmlformelement/submit/index.html')
-rw-r--r--files/zh-cn/web/api/htmlformelement/submit/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/web/api/htmlformelement/submit/index.html b/files/zh-cn/web/api/htmlformelement/submit/index.html
index 7e13885446..d000ffc11b 100644
--- a/files/zh-cn/web/api/htmlformelement/submit/index.html
+++ b/files/zh-cn/web/api/htmlformelement/submit/index.html
@@ -16,8 +16,8 @@ translation_of: Web/API/HTMLFormElement/submit
<p>这个方法和触发提交表单按钮很类似,但有所不同:</p>
<ul>
- <li>No {{event("submit")}} event is raised. In particular, the form's {{domxref("GlobalEventHandlers.onsubmit", "onsubmit")}} event handler is not run.</li>
- <li><a href="/en-US/docs/Web/Guide/HTML/HTML5/Constraint_validation">Constraint validation</a> is not triggered.</li>
+ <li>没有引发 {{event("submit")}} 事件。 特别是,表单的 {{domxref("GlobalEventHandlers.onsubmit", "onsubmit")}} 事件处理程序不会运行。</li>
+ <li>不会触发 <a href="/en-US/docs/Web/Guide/HTML/HTML5/Constraint_validation">约束验证</a> 。</li>
</ul>
<p>如果一个表单控件(比如一个提交按钮)的 <code>name</code> 或 <code>id</code> 的值为 <code>submit</code>,则它将覆盖表单的 submit 方法.</p>