Thanks, that worked just fine.
I was looking for more complicated solutions and overlooked the simple.
On Wed, Jan 21, 2009 at 5:57 PM, Lubor Gajda wrote:
> Have you tried prototype Event.observe() function? For instance you could
> use something like this:
>
> Event.observe(formId, 'submit', fu
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 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