Hi
I have made a mistake, and have named an input object the same as a form
attribute, i now want to change with some jscript. I don't want to change
all my codepages, so i need to address the attribute explicitly.
Some pseudo code will ilustrate what i did wrong:
<form name=myForm id=myForm.....>
<input type=submit name=action id=action....>
My problem is, that when i try to execute document.myForm .action='xxx.ht m' i
refference the submit object i myForm instead.
Can anybody please tell me how i reference the action attribute in the form
object instead?
Thank you in adwance
Jens
I have made a mistake, and have named an input object the same as a form
attribute, i now want to change with some jscript. I don't want to change
all my codepages, so i need to address the attribute explicitly.
Some pseudo code will ilustrate what i did wrong:
<form name=myForm id=myForm.....>
<input type=submit name=action id=action....>
My problem is, that when i try to execute document.myForm .action='xxx.ht m' i
refference the submit object i myForm instead.
Can anybody please tell me how i reference the action attribute in the form
object instead?
Thank you in adwance
Jens
Comment