如果是纯的js的话,可以将页面数据一次生成后,用div来模拟

解决方案 »

  1.   

    还是用的程序来衄页的。只不过有的时候参数太复杂,用js处理一下罢了。
    如这样的URL用ASP是很难处理的。http://5inet.net/list.asp?channel=2&column=0&s=hit@&x=dsc@&pageid=1但是我用了JS就好了。function gopage(pid)
    {
    if(document.form1.fpid.value.match(/\d*/i)=="") { alert("请输入正确的页码!"); document.all.pageid.focus();return;}if((location.href.match(/pageid=\d*/g))==null) 
    theURL = location.href + "&pageid=" + pid ;
    else
    theURL = location.href.replace(/pageid=\d*/g,"pageid=" + pid);this.location = theURL;
    }