Re: Using javascript onsubmit event on a Tapestry form

2009-01-21 Thread Hugo Palma
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

Re: Using javascript onsubmit event on a Tapestry form

2009-01-21 Thread Lubor Gajda
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: