response.redirect "example.asp"
这句是在服务器上执行的,就是在服务器上已经转到下一页了(你要是在这句前面加上response.end也能看到上面一行(你上面的第一行是错的)的结果了。)
这种转向你可以这样:
response.write "<script language='javascript'>alert('XXXXX');window.location.href='example.asp';</script>"

解决方案 »

  1.   

    response.write "<script language="javascript">alert('XXXXX',location='xx.asp');</script>"
      

  2.   

    response.write "<script language="javascript">alert('####');window.location.href='example.asp';</script>"
    还是不行,提示诘句未结束~~~
      

  3.   

    在服务器重定向上是不可能显示的
    在客户端document.location.href应该慢的话会显示出来,如果想停一下可以用setTimeout
      

  4.   

    用window.location=''
    不是window.location.href=''我以前就是看了别人说用window.location.href='',根本行不通
      

  5.   

    response.write "<script language="javascript">alert('####');window.location.href='example.asp';</script>"
    还是不行,提示诘句未结束~~~自己试着把'转成\"字符串没写对,有点耐心
      

  6.   

    response.write "<script language=\"javascript\">alert(\"####\");window.location=\"example.asp\";</script>"
      

  7.   

    vbscript中没有转意字符“\”,所以在vbscript中写\"是没用的response.write "<script language='javascript'>alert('####');window.location.href='example.asp';</script>"