jquery.AreYouSure icon indicating copy to clipboard operation
jquery.AreYouSure copied to clipboard

Not working for imagebutton event

Open sabin30 opened this issue 10 years ago • 1 comments
trafficstars

Hi, The dirty check is not happening when click in the imagebutton.I had image button to go next and previous date of date picker.I had added the dirty check method as below: <asp:ImageButton ID="lnkNextPeriod" ImageUrl="/images/pointer-right.png" CssClass="lnkNext" OnClientClick="$('form').trigger('checkform.areYouSure');" OnClick="lnkNextPeriod_Click" runat="server" />

Thanks Sabin

sabin30 avatar Nov 26 '14 17:11 sabin30

I think you're proposed solution is correct. If it's an image button is a "submit" button it should have worked. If it's just a standard button wired up to it's own click handler, I can see why you'd need to manually wire this up. I'd be happy to look into this further. Are you able to provide some sample HTML demonstrating the problem?

codedance avatar Nov 28 '14 04:11 codedance