C#后台调用JS
前台:
后台:
<script type="text/javascript" >
function method()
{
alert("zhouhai");
}
</script >
function method()
{
alert("zhouhai");
}
</script >
后台:
Page.ClientScript.RegisterStartupScript(this.GetType(),"test", " <script >method() </script >");