Hello. I am using Struts 1.3.8. The issue is not one of making the Javascript work (it is working correctly), but rather preventing a Struts action from being called. Is this possible given that the action of a form is a Struts action?
- Asad On Sat, Mar 29, 2008 at 6:44 AM, Lukasz Lenart <[EMAIL PROTECTED]> wrote: > Hi, > > Could you be more specific, which Struts version? If you use onsubmit > event, you should do that like this: > > onsubmit="JavaScript: return validate();" > > where validate() has to return true or false. > > > Regards > -- > Lukasz > > http://www.linkedin.com/in/lukaszlenart > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]