|
I have used a simple application.
A main window creates a child window at the click of a button.
In the child window, I am performing some operations and thru Javascript, I am closing the child window, and submitting the parent.
I want the submitting of parent window to take place 3 seconds after closing the child. Here's my code 4 the Javascript in the child :
mywin.document.write('<input type="submit" name="child_bttn_sub" value="Done" onClick= "javascript:self.opener.history.back(-1);self.close();setTimeout(window.parent.SubmitContent(),3000);">');
Here mywin is the child window object and SubmitContent() is the function in the parent form that I wish to execute.
It's not working...any1 has a clue ?
|
|
|
|
|
|
|
|