FW: Action parameter and JavaScript

2004-05-12 Thread Heligon Sandra
onchange function. -Original Message- From: Heligon Sandra Sent: 12 May 2004 11:56 To: 'Struts Users Mailing List' Subject: RE: Action parameter and JavaScript I have only one form in my JSP. My question was not clear that is why I explain agin my problem. My problem is the follow

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
n field on your form rather than modifying the action. HTH, Paul > -Original Message- > From: Heligon Sandra [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 12, 2004 8:42 AM > To: '[EMAIL PROTECTED]' > Subject: Action parameter and JavaScript > > > I

Action parameter and JavaScript

2004-05-12 Thread Heligon Sandra
I use a JavaScript in a form to set an action. But I am the following problem, I should pass a parameter to the action. I would like to know the syntax. Here is my code: function updateForm(form) { myForm.action='/myLookupDispatchAction.do?method=newSVC_One'; myForm.submit(