aaronm
08-04-2006, 08:04 PM
function doSubmit()
with (document.theForm)
{
action = "https://www.mysite.com/";
method = "post";
target="_self";
submit();
}
<form name="theForm" method="POST" action="https://www.mysite.com/">
...
... inputs here...
... <input type="button" onClick="doSubmit();" value="submit me">
</form>
The form is a bit more complicated but you get the idea. Simple. straight forward... or at least it should be.
when it gets to the "submit();" part i get this
Line: 100
Char: 6
Error: Object doesn't support this property or method
Code: 0
URL: myurl
Any help on this would be much appreciated.
I'm running IE6 with SP2 and all updates AFAIK
Thanks in advance.
with (document.theForm)
{
action = "https://www.mysite.com/";
method = "post";
target="_self";
submit();
}
<form name="theForm" method="POST" action="https://www.mysite.com/">
...
... inputs here...
... <input type="button" onClick="doSubmit();" value="submit me">
</form>
The form is a bit more complicated but you get the idea. Simple. straight forward... or at least it should be.
when it gets to the "submit();" part i get this
Line: 100
Char: 6
Error: Object doesn't support this property or method
Code: 0
URL: myurl
Any help on this would be much appreciated.
I'm running IE6 with SP2 and all updates AFAIK
Thanks in advance.