percious schrieb: > I would link the submit button to a separate JS call that first does > the action that you are looking for, then sends the request to the > server and then sets the browser to the response you get back. This > is more of a JS question than a TG one though...
Just let the JavaScript onsubmit function return the right return code, so that the standard handler of the submit button gets called afterwards, i.e. the form is submitted normally. I can never remember if you have to return 'true' or 'false'. Just look it up in a JavaScript reference. Chris --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

