Have you tried prototype Event.observe() function? For instance you could
use something like this:

Event.observe(formId, 'submit', function() {
    // your onsubmit actions
});

I'm not sure if this is the best way to do this, but it could work.

On Wed, Jan 21, 2009 at 5:45 PM, Hugo Palma <hugo.m.pa...@gmail.com> wrote:

> I'd like to execute some javascript on form submit but it seems that
> Tapestry is setting the onsubmit event of the form for performing client
> side validation so whatever i place on the "onsubmit" attribute gets
> ignored.
>
> Any idea how i can execute some javascript on submit right after the
> Tapestry stuff gets executed ?
> Thanks.
>

Reply via email to