sweepnet
11-14-2003, 08:06 PM
I am trying to submit a form in another window from the parent window.
So far I have just modified code to fit. This is driving me
Crazy!!
I have
Window1=window.open("http://dailyspice.com/","Window1","height=324, width=790,top=100,left=0,menubar=yes,toolbar=yes,locationbar=yes,scrollbars=yes,resizable=yes");
setTimeout('Window1.document.forms[0].submit()',5000);
The Window1.document.forms[0].submit() is not working.
http://devedge.netscape.com/library/manuals/2000/javascript/1.3/reference/form.html#1194123
Says that would be the way to write it, at least it seemd to me.
Any ideas would be appreciated.
Bob
So far I have just modified code to fit. This is driving me
Crazy!!
I have
Window1=window.open("http://dailyspice.com/","Window1","height=324, width=790,top=100,left=0,menubar=yes,toolbar=yes,locationbar=yes,scrollbars=yes,resizable=yes");
setTimeout('Window1.document.forms[0].submit()',5000);
The Window1.document.forms[0].submit() is not working.
http://devedge.netscape.com/library/manuals/2000/javascript/1.3/reference/form.html#1194123
Says that would be the way to write it, at least it seemd to me.
Any ideas would be appreciated.
Bob