在按钮单击事件结束时调用JavaScript函数

Che*_*tan 3 .net javascript asp.net code-behind

如何在代码后面的按钮单击事件结束时调用JavaScript函数?

weg*_*ata 6

如果你在.NET工作,你可以试试

ScriptManager.RegisterClientScriptBlock(myButton, this.GetType(), "BlockName", "alert('hello world');", true);
Run Code Online (Sandbox Code Playgroud)