JavaScript高手来看!谢谢!
我用window.open打开一个窗口,为什么运行改页后h1、h2、h3、h4、h5、h6的值无法传递!
源码如下:
<html xmlns= "http://www.w3.org/1999/xhtml ">
<head>
<meta http-equiv= "Content-Type " content= "text/html; charset=gb2312 " />
<link href= "style.css " rel= "stylesheet " type= "text/css ">
<title> 图表 </title>
<style type= "text/css ">
<!--
.style1 {color: #FF0000}
-->
</style>
<script language= "javascript ">
function dosubmit(){//v1.0
window.open( 'ss_add2.asp?h1= '+window.form1.h1.value+ '&h2= '+window.form1.h2.value+ '&h3= '+window.form1.h3.value+ '&h4= '+window.form1.h4.value+ '&h5= '+window.form1.h5.value+ '&h6= '+window.form1.h6.value+ '&qishu= '+window.form1.qishu.value);
return true;
}
</script>
</head>
<body>
<form name= "form1 " id= "form1 " method= "post " onSubmit= "return dosubmit(); ">
<table width= "95% " height= "30 " border= "0 " align= "center " cellpadding= "3 " cellspacing= "1 " bgcolor= "#FFFFFF " class= "border ">
<tr align= "center " valign= "middle " class= "title ">
<td> <strong> 编号 </strong> </td>
<td> 图表 </td>
<td width= "15% "> 操作 </td>
</tr>
<tr align= "center " valign= "middle " bgcolor= "#D6DFF7 " >
<td bgcolor= "#D6DFF7 "> 第
<select name= "qishu ">
<%for u=2007041 to 2007140 %>
<option value= " <%=u%> "> <%=u%> </option>
<%next%>
</select>
期 </td>
<td bgcolor= "#D6DFF7 ">
<%for j=1 to 6%>
<select name= "h <%=j%> ">
<%for i=1 to 33%>
<option <%if i=17 then response.write " selected " end if%> >
<%if i <10 then