好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

form表单中要提交的input为type="button"时怎么提交啊?_html/css_WEB

form表单中input为type="button"怎么提交啊?
 


回复讨论(解决方案)

对了还有就是

 
怎么提交这里面的input本身的值:“提交”?

加上name属性


 

通过js控制:
function checksubmit(){     $("#inputForm").submit();//jquery方式.     //document.getElementById("inputForm").submit();原生js方式,未测试.} 

加上name属性,后台才能识别。或者用ajax提交

查看更多关于form表单中要提交的input为type="button"时怎么提交啊?_html/css_WEB的详细内容...

  阅读:31次