您的位置:首页 > 编程语言 > C#

Click button show the confirmation popup first then call the onlick event in C#

2012-09-17 22:58 375 查看
<asp:imagebuttonid="ImageButtonSubmit"runat="server"ImageURL="images/delete.jpg"onclick="submit_button"

OnClientClick="return confirm('Are you sure you want to delete the messages?');"></asp:imagebutton>

IF OnClientClick== true

Then onclick event will be called
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: