[英]Calling JavaScript function at the end of button click event
如何在代码后面的按钮单击事件结束时调用JavaScript函数?
如果你在.NET工作,你可以试试
ScriptManager.RegisterClientScriptBlock(myButton, this.GetType(), "BlockName", "alert('hello world');", true);
您可能想要onmouseup事件:
<button onmouseup="alert('You release the mouse button!')">Click me</button>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.