aspx中如何加入javascript

Response.Write("<script>window.location ='aaa.aspx';</script>"); 
 Response.Write("<script>top.location.href='login.aspx';</script>");
自己搞定了,Response.Write(" <script type=text/javascript> alert('ddd'); </s"+"cript> ");  
改成这样就可以了
http://www.cool80.com/Demonstrate/465/
http://www.cool80.com/
http://www.kehu51.com/?baidulh
原文地址:https://www.cnblogs.com/XACOOL/p/5650985.html