jsp按钮提交多个表单
来源:百度知道 编辑:UC知道 时间:2024/06/22 16:39:41
我做了个按钮<input type="button" value="发送" onclick="send()" />
有两个form分别是hao和bvn 然后function send(){
with(document.getElementById("hao")){
method="post";
action="show.search.do?action=qfsend";
hao.submit();
}
有两个form分别是hao和bvn 然后function send(){
with(document.getElementById("hao")){
method="post";
action="show.search.do?action=qfsend";
hao.submit();
}
一个表单提交了~下面的代码就不会执行了~
干嘛要提交两个表单。。。。
说说你的需求
最后一个直接submit();不要hao.submit();
你的问题是什么?
提交多个不如写到一个FORM里。