asp.net后台调用JS方法

来源:互联网 发布:手绘卡通地图软件 编辑:程序博客网 时间:2024/06/06 02:01

前台JS

  <script language="javascript" type="text/javascript">

function showType()

{

alert(1);

}

</script>


后台调用

 Page.ClientScript.RegisterStartupScript(this.GetType(), "view", "showType();", true);

原创粉丝点击