RE: Action parameter and JavaScript

2004-05-12 Thread Heligon Sandra
o do ? Thanks in advance -Original Message- From: Paul McCulloch [mailto:[EMAIL PROTECTED] Sent: 12 May 2004 11:12 To: 'Struts Users Mailing List' Subject: RE: Action parameter and JavaScript Do you have mutiple forms on the page? Your JS function takes an argument which it ig

RE: Action parameter and JavaScript

2004-05-12 Thread Paul McCulloch
Do you have mutiple forms on the page? Your JS function takes an argument which it ignores and always sets the action of 'myForm'. Try debugging with a JS alert just before you submit, showing the action value for your action. Having said all that, I would set the method via a hidden field on you