JS里一个我绝对没有想到的结果

         Response.Write("<script>alert('baidu');location.href='http://www.baidu.com';alert('google');location.href='http://g.cn';</script>");
没想到这句话的执行结果是这样的,特在此留个记号,有了解的哥们方便的话,帮给解释一下

 

posted @ 2008-09-22 21:32  游侠_1  阅读(285)  评论(4编辑  收藏  举报