kaptin
09-06-2006, 03:03 AM
im gonna try and explain this as best as i can
here goes
basically i have my main page, this page is where users fill out a form using document.myForm.submit()
I am trying to submit this information serveral times, in a timed loop using setTimeout()
NOW! the post goes to an outside website which spawns a 2ndWindow(this second window is a different website, i do not have access to the code 2ndWindow). This window must be open to complete the task at hand.
the problem lys here.... this 2ndWindow that opens contains this code
function redirectParentFast(){
window.opener.location='http://url.com';
}
that code is executed on the 2ndWindow, and my mainScript window is redirected, therefore kicking it out of the loop the first time it goes though.
im not real sure on how to correct this problem....
any ideas?
here goes
basically i have my main page, this page is where users fill out a form using document.myForm.submit()
I am trying to submit this information serveral times, in a timed loop using setTimeout()
NOW! the post goes to an outside website which spawns a 2ndWindow(this second window is a different website, i do not have access to the code 2ndWindow). This window must be open to complete the task at hand.
the problem lys here.... this 2ndWindow that opens contains this code
function redirectParentFast(){
window.opener.location='http://url.com';
}
that code is executed on the 2ndWindow, and my mainScript window is redirected, therefore kicking it out of the loop the first time it goes though.
im not real sure on how to correct this problem....
any ideas?