Nope!
And I tried
document.all.forms(0).submit();
document.all.myForm.submit();
document.forms.myForm.submit();
All with the same result.!
There is no submit button...I am calling this function just based on a
link.
<a href="javascript
:submitForm();" class="buttontextbig">Submit
Form</a>
<form method="post" id="myForm" name="myForm" style="margin:0;">
jamieazure wrote:
Quote:
does it work if you put the full call on the submit line:
>
i.e.
>
document.getElementById('myForm').submit();
>
>
devanoy@hotmail.com wrote:
Quote:
I have this function that doesn't seem to work on Internet Explorer,
but works on Firefox.
Below is the code. I get the form object. I set the action and I
submit the form. It is erroring out on the newForm.submit(); I am
getting "Object doesn't support this property or method". PLEASE HELP!
var newForm = document.getElementById('myForm');
newForm.action="action.asp";
newForm.submit();