How do you call a javascript function at the end of button click code behind?
A:
You probably want the onmouseup event:
<button onmouseup="alert('You release the mouse button!')">Click me</button>
tehvan
2009-02-12 12:59:10
+5
A:
If you're working in .NET you could try
ScriptManager.RegisterClientScriptBlock(myButton, this.GetType(), "BlockName", "alert('hello world');", true);
wegrata
2009-02-12 13:03:09
this really worked... thanks :)
Chetan
2009-02-12 13:12:17