大家帮助解决一下关于参数传递问题!选谢过
我想让表单提交时,我想一些相关的查询参数search的值传递到下一个页面,这怎么实现?我在<form>里写了它的参数值,就等于form表中一个文本框里的一个值,页面中有一个提交按钮,我想在提交后,将参数传递到test.asp页面里.因为我没法实现,就写了一段javasript,但window.open它不支持类似于target="main".我没折了.
<SCRIPT language=javascript>
function searchbook(){
var surl=document.form1.guanjianz.value;
alert("search.asp?search="+surl );
window.open("test.asp?search="+surl);
//form1.submit();
}
</SCRIPT>
<table width="80%" height="554" border="0" >
<form action=test.asp?search=<%=(request.form("guanjianz") %> id=form1
name=form1 method='post'>
<tr><td>
<input name="guanjianz" type="text" size="18" maxlength="18" >
</td></tr>
.....
</form></table>