easy question: How to call javascript before calling a server side function when a ASP.NET button is clicked

 I have a button:

       

When the user clicks this button, I wan to call a javascript function before running the serverside function Button1_Click. how can I do that?

 

Thanks!

0 coderGeek 8/5/2007 3:52:54 AM

 This was too easy.  sorry for posting.  use the onclientclick attribute.

0 coderGeek 8/5/2007 4:33:10 AM
Reply:

(Thread closed)