当前位置: 首页 > 网络学院 > 客户端脚本教程 > HTML DOM > HTML DOM acceptCharset属性
The acceptCharset property sets or returns a comma separated list of possible character-sets for the form data.
acceptCharset 属性可设置或返回表单数据中character-sets的值,每个以逗号为分隔
formObject.acceptCharset=charset |
The following example alerts the possible character-set for the form data:
下面的举例将提示表单数据的character-set的值:
<html> <form id="myForm" acceptCharset="ISO-8859-1"> </body> |
Get the possible character-sets for the form data