<select name= "sel_page " onChange= "javascript:location=this.options[this.selectedIndex].value; ">
<%
for i = 1 to rscyc.PageCount
if i = intpage then%>
<option value= " <%=url%> ?count= <%=i%> "selected> <%=i%> </option>
<%else%>
<option value= " <%=url%> ?count= <%=i%> "> <%=i%> </option>
<%
end if
next
%>
</select> 页
我这样写 怎么不能跳转的呢 还需要些什么啊 谢谢大家
------解决方案--------------------
<select name= "sel_page " onChange= "javascript:window.location=this.options[this.selectedIndex].value; ">
------解决方案--------------------
<select onChange= "javascript:window.location.href=this.options[this.selectedIndex].value; ">
------解决方案--------------------
太长啦,有点不想看,你可以参考一下:我给你做的这个示例
<%
page=request.querystring( "page ")
If page= " " Then page=1 '首次打开默认为第一页
response.write "你现在打开的是 第 " & page & "页 "
url= "http://192.168.1.120/intest1.asp "
%>
<select onChange= "javascript:window.location=this.options[this.selectedIndex].value; ">
>
<%For i=1 To 5%>
<option value= " <%=url%> ?page= <%=i%> " <%If CInt(page)=CInt(i) Then response.write "selected " %> > <%=i%> </option>
<%next%>
</select>