Generally speaking, you cannot call Code-Behind functions from client side javascript. But your client script can submit the form and then the code-behind function can be called from inside your form_load event.
>how can i call a code-behind function from javascript? I have tried the following, but it doesn't work.
>
>document.Form1.GoSubmit()
>
>Thanks for the help.
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi