<form name="ty" method="post" autocomplete="OFF">
<select name="typex" id="typex" onChange="winOpen(document.ty.typex.value);">
<option vhttps://bbs.csdn.net/topics/alue="a">a</option>
<option value="https://bbs.csdn.net/topics/1">1</option>
</select>
</form>
function winOpen(Val){
if(Val!=""){
window.location.href="https://bbs.csdn.net/topics/?typex="+Val;
}else{
return false;
}
}
uj5u.com熱心網友回復:
<select name="typex" id="typex" onChange="window.location=this.value;"><option value="https://bbs.csdn.net/topics/?typex=<%=frs("typex")%>" <%if frs("typex")=typex then%> selected="selected"<%end if%>><%=frs("typex")%></option>
</select>
uj5u.com熱心網友回復:
我這里用chrome瀏覽器試了,沒啥問題啊,win10是edge吧轉載請註明出處,本文鏈接:https://www.uj5u.com/qianduan/129819.html
標籤:JavaScript
上一篇:請問一個關于tomcat配置問題
下一篇:vue的理論知識總結(一)
