下拉窗选择页数?
我要做一个下拉窗,
<select name=vcount>
<option <%if vcount=v_page then response.write "selected"%> value="page">
<%for i=1 to v_pcount
response.write i
next%>
</option>
</select>
上面这个出来后是错误的,如果当前总共有3页,它的显示是123.而不是3个下拉1,2,3
希望大家指点下,谢谢(注:v_page是当前页面,v_pcount是总页数)
[此贴子已经被作者于2006-6-16 11:20:53编辑过]