Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 564 Bytes

File metadata and controls

27 lines (22 loc) · 564 Bytes

访问表单元素

  • 表单对象Form属性:
action 、elements、method、name、target  
  • 表单提交的方法:
Get  Post   name    target           
  • 表示打开表单的url:
_self    _parent    _blank    _top
  • 表单元素:
document.forms[索引].elements[索引].属性  
document.forms[索引].elements[索引].方法(参数)  
document.forms[索引].属性  
document.forms["表单名称"].属性  
document.表单名称.元素名称.属性   
document.表单名称.元素名称.方法(参数)