怎样不通过form就可以把选择列表的值传到另一个网页中.
例如下面列表:
<select name= "audflag " id= "audflag " onchange= "window.open( 'stuinfoauditing.asp?action=audflag&xh= <%= rs( "xh ") %> &aclaid= <%= aclass %> &apxxm= <%= apxxm %> &ayear= <%= ayear %> ') ">
<option value= "0 "> 未审核 </option>
<option value= "1 "> 已审核 </option>
<option value= "2 "> 未通过 </option>
</select>
想通过“onchange”把列表改变后的值传到stuinfoauditing.asp页面中,不使用form来传递。应该怎样做。请师傅们帮忙!不胜感激
------解决方案-------------------- <select name= "audflag " id= "audflag " onchange= "window.open( 'stuinfoauditing.asp?audflag= '+this.value+ '&action=audflag&xh= <%= rs( "xh ") %> &aclaid= <%= aclass %> &apxxm= <%= apxxm %> &ayear= <%= ayear %> ') ">
------解决方案--------------------给你个完整的
<select style= "color: #000000; font-weight: bold; background-color: #9CBEE7 " onchange= "javascript:window.location= 'web-freeget.asp?flag= <%=request( "flag ")%> &num= <%=request( "num ")%> &receivename= <%=request( "receivename ")%> &mobile= <%=request( "mobile ")%> &do_flag= '+this.options[this.selectedIndex].value; ">
onchange= "javascript:window.location= 'web-freeget.asp?flag= <%=request( "flag ")%> &num= <%=request( "num ")%> &receivename= <%=request( "receivename ")%> &mobile= <%=request( "mobile ")%> &do_flag= " " '; " <option <%if request( "do_flag ")= " " then%> selected <%end if%> > 处理状态 </option>
onchange= "javascript:window.location= 'web-freeget.asp?flag= <%=request( "flag ")%> &num= <%=request( "num ")%> &receivename= <%=request( "receivename ")%> &mobile= <%=request( "mobile ")%> &do_flag= '+this.options[this.selectedIndex].value; " <option value= "未处理 " <%if request( "do_flag ")= "未处理 " then%> selected <%end if%> > 未 处 理 </option>
onchange= "javascript:window.location= 'web-freeget.asp?flag= <%=request( "flag ")%> &num= <%=request( "num ")%> &receivename= <%=request( "receivename ")%> &mobile= <%=request( "mobile ")%> &do_flag= '+this.options[this.selectedIndex].value; " <option value= "处理中 " <%if request( "do_flag ")= "处理中 " then%> selected <%end if%> > 处 理 中 </option>
onchange= "javascript:window.location= 'web-freeget.asp?flag= <%=request( "flag ")%> &num= <%=request( "num ")%> &receivename= <%=request( "receivename ")%> &mobile= <%=request( "mobile ")%> &do_flag= '+this.options[this.selectedIndex].value; " <option value= "暂无货 " <%if request( "do_flag ")= "暂无货 " then%> selected <%end if%> > 暂 无 货 </option>
onchange= "javascript:window.location= 'web-freeget.asp?flag= <%=request( "flag ")%> &num= <%=request( "num ")%> &receivename= <%=request( "receivename ")%> &mobile= <%=request( "mobile ")%> &do_flag= '+this.