Dynamically set a form's action attribute?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Jeff_C
Posted On:   Tuesday, April 24, 2001 07:21 AM

To set a form's action attribute dynamically, usually use such statement: document.formName.action=URL.
However, I have a form like this:


. As you see, the form also contains an element with name=action. So when use "document.formName.action=URL",
it always try to change the value of element rather than the form's action attribute. I am not allowed to change the source code of the form. So how to set the form's action attribute?Any one have some advice on it? Thanks a lot.
About | Sitemap | Contact