HTML表单提交
2016-07-16 09:59
344 查看
HTML表单提交
<form action="jspStaticPage.jsp" method="post"> width: <input type="text" name="width" size="25"><br/> length:<input type="text" name="height" size="25"><br/> <input type="submit" value="submit"> <form action="jspStaticPage.jsp" method="post">
action 动作传递的页面
method 动作传递方式 get和 post 区别不明
提交按钮 submit 当type= button时无法提交
<form action="jspStaticPage.jsp" method="post" > width: <input type="text" name="width" size="25"><br/> length:<input type="text" name="height" size="25"><br/> <input type="button" value="submit" onclick="this.form.submit()"> </form>
效果同上
相关文章推荐
- 在Windows 8.1的IE 11中屏蔽双击放大功能
- HTML5调用摄像头实例
- Powershell 创建炫丽美观的Html报表
- Apple官网研究之使用Justify布局导航
- 关于前端的思考与感悟
- 又被事件冒泡坑了一把,这次要彻底弄懂浏览器的事件流
- 移动端点击事件全攻略,这里的坑你知多少?
- $q 实例分析 Angular 中的 Promise
- Angular directive 实例详解
- 关于浮动与清除浮动,你应该知道的
- 通过Mootools 1.2来操纵HTML DOM元素
- jQuery Html控件基本操作(日常收集整理)
- WEB标准网页布局中尽量不要使用的HTML标签
- Flash 与 html 的一些实用技巧
- html工作中表格<tbody>标签的使用技巧
- HTML 向 XHTML1.0 兼容性指导
- C#自写的一个HTML解析类(类似XElement语法)
- 没有文件大小限制并免费的PDF到HTML转换工具