enctype 属性规定在将表单数据发送到服务器之前如何对其进行编码。
Notice that Listing 10 also adds an enctype attribute to the element to support multi-part form submission.
注意,清单10还为元素添加了一个enctype属性以支持多方表单提交。
The XForms standard supports the usual HTML form submission methods, but, where HTML requires a method and enctype to specify the submission method, XForms requires only a method.
X Forms标准支持通常的HTML表单提交方法,但是HTML需要method和enctype来指定提交方法,而XForms只需要一个method。
<xf:submission method="form-data-post" action="url"/> is the same as <form method="post" enctype="multipart/form-data"> in HTML, and can be handled at the receiving URL in the same way.
<xf:submission method="form-data-post" action="url"/> 和 HTML 中的 <form method="post" enctype="multipart/form-data"> 相同,可以按同样的方法在收到 URL 时被处理。
应用推荐