this.ClientScript.RegisterClientScriptBlock(this.GetType(), "alert", "alert('弹框');", true);
不要用Response.Write("<script>...</script>");
.cs文件执行JS时的写法
最新推荐文章于 2023-08-19 12:00:35 发布
this.ClientScript.RegisterClientScriptBlock(this.GetType(), "alert", "alert('弹框');", true);
不要用Response.Write("<script>...</script>");