Click to See Complete Forum and Search --> : Submit a form


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

gil davis
11-14-2003, 08:22 PM
You cannot use JavaScript to control a window that has a different domain. It is a security issue.

sweepnet
11-14-2003, 08:53 PM
Any ideas on where I could go to do it?

Any other language, etc?

THanks

Bob