SyntaxFix
Write A Post
Hire A Developer
Questions
The simplest and best way to achieve this is to use the onmouseup() JavaScript event rather than onclick()
onmouseup()
onclick()
That way you will fire JavaScript after you click and it won't interfere with the ASP OnClick() event.
OnClick()