1 input type =submit :一般用于表单的提交,点击就可以自动提交表单的内容,不需要写其他的方法。
2 input type= button 就是一个普通的按钮,不配置函数的话,按住按钮也没有什么反映
3 <button type="button"></button> 和submit差不多
1 input type =submit :一般用于表单的提交,点击就可以自动提交表单的内容,不需要写其他的方法。
2 input type= button 就是一个普通的按钮,不配置函数的话,按住按钮也没有什么反映
3 <button type="button"></button> 和submit差不多