您的位置:首页 > 其它

如何传递下拉列表中的值返回到本页变量

2008-05-01 06:26 281 查看
<form name="form1">
<select name="menu1" onChange="alert('GetValue='+this.options[this.selectedIndex].value);location.href='?GetValue='+this.options[this.selectedIndex].value;">
<option selected>请选择</option>
<option value="http://www.alixixi.com/">阿里西西网站</option>
<option value="http://www.alixixi.com/bbs/">阿里西西论坛</option>
</select>
</form>
<%
GetValue=request("GetValue")
Response.Write GetValue
%>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: