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...

On Apr 10, 10:23 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> I know how to make a form's action run a Javascript function or call a
> (Python) controller.
>
> What if I wanted to do *BOTH*?  How do that?
>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to