shirlly 发表于 2013-1-23 02:49:09

在应用了AJAX的页面中,可以通过这样的方式来调用JS函数

ScriptManager.RegisterStartupScript(Page, this.GetType(), "sucess", "<script>alert('" + index + "');</script>", false);
而不能用通过这样的方式来调用
Respose.Write("<script>alert("成功")</script>");
页: [1]
查看完整版本: 在应用了AJAX的页面中,可以通过这样的方式来调用JS函数