用列表菜单做记录集的跳转,怎么让默认值老是显示在当前跳转页,详细的里面请
<select name="menu" id="menu" onChange="MM_jumpMenu('parent',this,0)">
<% for x= 0 to (rs_total/10) %>
<option value="index.asp?offset=<%=x*10%>" selected>第 <%=x+1%> 页</option>
<% next %>
</select>
这样的跳是可以跳,但跳完后默认值老是显示的总页数,要怎么写才能跳到第几页就显示第几页的页数
问题点数:0、回复次数:4Top
1 楼sdts(隐姓埋名的混蛋)回复于 2004-12-02 12:04:45 得分 0
<select name="menu" id="menu" onChange="MM_jumpMenu('parent',this,0)">
<% for x= 0 to (rs_total/10) %>
<option value="index.asp?offset=<%=x*10%>" <%IF Request("offset")="index.asp?offset=x*10" Response.write "selected" End IF%>>第 <%=x+1%> 页</option>
<% next %>
</select>
试一试Top
2 楼bnce()回复于 2004-12-02 12:47:22 得分 0
这样好象行不通!Top
3 楼bnce()回复于 2004-12-02 13:08:14 得分 0
顶一下,大家帮忙看看!Top
4 楼bnce()回复于 2004-12-02 14:18:57 得分 0
永不放弃!Top




