I know how to create an event handler in a textbox, triggering a JavaScript event, e.g.,
txtmytextbox.attributes.add("OnChange", "myfucntion(this);"
How do I trigger a JavaScript event with an ASP.NET button without creating an HTML button? I would like to fire the OnClick event of the ASP.NET button and at the same time trigger the call for the execution of a JavaScript function.
Any ideas?
txtmytextbox.attributes.add("OnChange", "myfucntion(this);"
How do I trigger a JavaScript event with an ASP.NET button without creating an HTML button? I would like to fire the OnClick event of the ASP.NET button and at the same time trigger the call for the execution of a JavaScript function.
Any ideas?