表单提交方式

**"submit"直接提交

**使用button提交

  给button添加点击事件:1、获取到表单     2、为表单添加action(表单.action="")     3、为表单添加submit(表单.submit)

**使用超链接提交

  <a href="hello.html?username=123">超链接名字</a>

*****onclick:鼠标点击事件

  onchange(一般与select一起使用)

  onfocus:得到焦点

  onblur:失去焦点

原文地址:https://www.cnblogs.com/code-fun/p/11746712.html