页面中的html代码如下:
<form name="theForm" method="POST" action="" target="">
<table>
<tr align='center' bgcolor="c0c0c0">
<td colspan='12' height="50">
<input type=button value=" Show Result " onClick="show()">
<input type=button value=" Download Result " onClick="download()">
<input type='reset' value='Reset'>
<input type=button value=" return " onClick="back()">
</td>
</tr>
</table>
</form>
<form name="theForm" method="POST" action="" target="">
<table>
<tr align='center' bgcolor="c0c0c0">
<td colspan='12' height="50">
<input type=button value=" Show Result " onClick="show()">
<input type=button value=" Download Result " onClick="download()">
<input type='reset' value='Reset'>
<input type=button value=" return " onClick="back()">
</td>
</tr>
</table>
</form>
解决方案 »
- 关于变量的一个小问题
- 使用hibernite问下关于数据库设计的一个问题
- Struts2拦截器fileupload与execAndWait的问题
- 50分求答案 十万火急,,, 关于TOMCAT SERVER.XML中的Context配置问题
- 急求二级域名转向问题
- pdf文件,怎么可以直接点击后下载而不是打开,分都放完了啊
- 那有InfoReport下载
- java多线程访问数据库的问题
- 用jsp制作的特效如何浮在网页中flash之上?
- 有没有ms access 2000的jdbc的驱动?哪可以下载?
- 请各位同行推荐一个jsp的虚拟主机提供商给我,253先了!!!!!!!!!!1
- 连接SqlServer时出现的问题,请问怎么解决,错误代码在下面
<SCRIPT TYPE="text/javascript">
function show() {
document.theForm.target="_blank";
document.theForm.action = "freeQueryResultShow.jsp";
document.theForm.submit();
}
function download(){
document.theForm.target="_blank";
document.theForm.action="freeQueryResultDownload.jsp";
document.theForm.submit();
}
function back()
{
document.theForm.target="";
document.theForm.action=<%out.print("\"data_list.jsp?datasource="+datasource+"&proc_id="+proc_id+"\"");%>;
document.theForm.target="mainFrame";
document.theForm.submit();
}
</SCRIPT>