页面跳转问题,急!
cp=cint(request("page"))
<form name=goto method=post action="" onsubmit=go()>
共<%=totalcount%>条 共<%=totalpage%>页 <a href=show.asp?id=<%=id%>&page=1>最前页</a> <a href=show.asp?id=<%=id%>&page=<%=cp-1%>>上一页</a>
<a href=show.asp?id=<%=id%>&page=<%=cp+1%>>下一页</a> <a href=show.asp?id=<%=id%>&page=<%=totalpage%>>最后页</a>
跳到第<input type="text" name="sendpage" size="2" value=<%=cp%>>页</form>
<script>
function go()
{
var thepage,theaction
thepage=goto.sendpage.value
theaction="show.asp?id=<%=id%>&page="+thepage
setTimeout("window.navigate(theaction)",6000);
}
</script>
如果不点击那些连接地址,跳转页面是正常执行的.但当点击了连接后再在text里输入数字就不能跳转了,还是跳回当前页.
怎样解决啊?
在线等待!