下拉菜单翻页存值的问题,怎么值不能显示在跳转后页面,老显示第一页! Web 开发 / ASP
下拉菜单翻页存值的问题,怎么值不能显示在跳转后页面,老显示第一页!
楼主heheiscool()2006-12-26 10:47:35 在 Web 开发 / ASP 提问
<select name="Pageno" onChange="MM_jumpMenu('parent',this,0)">
<%if toPage=0 then %>
<%Response.write("<option selected>0</option>")%>
<% else %>
<%for num=1 to rsx.Pagecount
%>
<%if num<>Page then%>
<option value="xymess.asp?currentpage=<%=num%>"><%=num%></option>
<%else%>
<option selected><%=num%></option>
<%end if%>
<% next %>
<%end if%>
</select>
问题点数:20、回复次数:2Top
1 楼heheiscool()回复于 2006-12-26 10:50:33 得分 0
兄弟们,帮忙看看,不甚感激!Top
2 楼heheiscool()回复于 2006-12-26 10:59:20 得分 0
不好意思,找到毛病了
问题就在 num<>Page 这儿,应该写成num<>Cint(Page)
Top
文章录入:andy 责任编辑:andy
网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!) |








网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!)