c#怎么在后台调用前台js函数?

JavaScript019

c#怎么在后台调用前台js函数?,第1张

<body>

<form id="form1" runat="server">

<input type="button" onclick="ceshi()" />

</body>onclick是鼠标单击时间, 单击btn调用ceshi()

// ----------这里是后台调用前台Js

Page.ClientScript.RegisterStartupScript(this.GetType(), "", " ")