<script>
function f(){
window.f1.action="http://xxx.xxx.xxx/xxx.jsp?xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&lq"; // 主要是这里,我想将name=lq 的表单参数放在这里,应该怎么弄啊,我不知道了
window.f1.submit();
}
</script>
<body onLoad="func()">
<form enctype="multipart/form-data" method="post" name="f1" >
<input name=lq size="30" maxlength="100" >
<input type="button" onClick="f()" value="站内搜索">
</form>
function f(){
window.f1.action="http://xxx.xxx.xxx/xxx.jsp?xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&lq"; // 主要是这里,我想将name=lq 的表单参数放在这里,应该怎么弄啊,我不知道了
window.f1.submit();
}
</script>
<body onLoad="func()">
<form enctype="multipart/form-data" method="post" name="f1" >
<input name=lq size="30" maxlength="100" >
<input type="button" onClick="f()" value="站内搜索">
</form>
