Page.ClientScript.RegisterStartupScript(this.GetType(), "","")引号里面具体代表什么?

日期:2010-03-19 12:05:54 人气:1

Page.ClientScript.RegisterStartupScript(this.GetType(), "","")引号里面具体代表什么?

比如说你在程序中是这么写的 Page.ClientScript.RegisterStartupScript(GetType(), "js", "alert('添加成功!');document.getElementById('ShowTable').style.display = 'none';", true); 那么将来就会在HTML中生成这样一句话 //<![CDATA[ al
    A+
热门评论