码迷,mamicode.com
首页 > 其他好文 > 详细

//string scriptstrs = "<script>alert('欢迎光临!');</script>";

时间:2014-11-29 18:48:27      阅读:135      评论:0      收藏:0      [点我收藏+]

标签:ar   sp   java   for   on   art   html   as   tt   

//string scriptstrs = "<script>alert(‘欢迎光临!‘);</script>";

//if (!Page.ClientScript.IsStartupScriptRegistered(this.GetType(), "welcome"))
//{

// Page.ClientScript.RegisterStartupScript(this.GetType(), "welcome", scriptstrs);
//}

//string aa = string.Format("<script language=javascript>window.open(‘Sound.html‘)</script>");
//Response.Write(aa);

//Response.Write("<script language=‘javascript‘>window.open(‘Sound.html‘);</script>");
//Server.Transfer("Sound.html", true);//直接跳转
//Server.Execute("Sound.html", true);//跳转后再返回

//string scriptstrs = "<script>alert('欢迎光临!');</script>";

标签:ar   sp   java   for   on   art   html   as   tt   

原文地址:http://www.cnblogs.com/skyay/p/4131672.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!