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: <script> function updateForm(form) { myForm.action='/myLookupDispatchAction.do?method=newSVC_One'; myForm.submit(); return true; } </script> <html:select onchange="updateForm(document.forms[0]);"/> At the runtime when the combo box change the parameter method is null. I tried document.forms[0].method.value="newSVC_One"; but it does not work. Thanks a lot in advance --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]