document.forms[0].action='somethig.do' works to me...

to change a field with name "action", i guess you must do something like document.forms[0].action.value

Slattery, Tim - BLS wrote:

If you use a field called "action" in the form, how can you change the form action with javascript. When I try to set the document.form.action it tries to set the field instead of the action for the form. Is there any other way to change the action for the form?





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to