如何实现对于0.html中的同一个form1,
当单击form.button1时用method="post" 打开1.html;
当单击form.button2时用method="post" 打开2.html;
这样的功能?
当单击form.button1时用method="post" 打开1.html;
当单击form.button2时用method="post" 打开2.html;
这样的功能?
解决方案 »
- struts2 url 传值收不到,由过滤器引起,但我不知道为什么
- FCKeditor的不解问题,求助!在线等待
- 链接问题
- Struts关于<html:select>的排序
- 请问JSP如何从mysql读取时间
- JSP中如何防止外部提交(50分急等)
- 送分
- jsp中如何使用applet,我是用jbuilderx测试的,jsp页始终找不到applet类,为什么?
- springMvc+mybatis 存储过程中有mysql inout属性参数,用mybatis 注解如何调用,注意是注解不是xml
- 微信公众号授权验证签名
- 寻求 :推荐一下javascript的最好的书
- 请问JSP怎样读取统一局域网内的某台机器内的目录?
function click1(){
document.test.action=...;
document.submit();
}
function click2(){
document.test.action=...;
document.submit();}
</script>
<form name=test method=post>
<input type=button name=button1 clicked="click1()">
<input type=button name=button2 clicked="click2()">
</form>
这样就可以了,根本不用什么ajax