G
GTi
Hello...
I have a page located in a frame. This page contains a form.
When the user submit this form I want to popup a "Please Wait" window popup
window
The post may take some time for the server to process.
So when the new windows is loaded into the browser, I want to close this
Wait window.
I have found a global JavaScript variable I may use.
Like: top.waitwindow
So when the user press submit I use onSubmit=openWaitWindow()
And at the bottom I use top.waitwindow.close();
But this is not working at all.
Declared in the frame window
top.WaitWindowVar = null;
On the submit page
function openWaitWindow()
{
top.WaitWindowVar=window.showModelessDialog("WaitWindow.html","Dialog
Arguments Value","dialogHeight:100px; dialogWidth:200px; dialogTopx;
dialogLeftx; edge:Raised; center:Yes; help:No; resizable:No; status:No;
scroll:No; Unadorned:Yes ");
}
And at the bottom on the new page:
top.WaitWindowVar.close();
Any idea how I can do this?
I have a page located in a frame. This page contains a form.
When the user submit this form I want to popup a "Please Wait" window popup
window
The post may take some time for the server to process.
So when the new windows is loaded into the browser, I want to close this
Wait window.
I have found a global JavaScript variable I may use.
Like: top.waitwindow
So when the user press submit I use onSubmit=openWaitWindow()
And at the bottom I use top.waitwindow.close();
But this is not working at all.
Declared in the frame window
top.WaitWindowVar = null;
On the submit page
function openWaitWindow()
{
top.WaitWindowVar=window.showModelessDialog("WaitWindow.html","Dialog
Arguments Value","dialogHeight:100px; dialogWidth:200px; dialogTopx;
dialogLeftx; edge:Raised; center:Yes; help:No; resizable:No; status:No;
scroll:No; Unadorned:Yes ");
}
And at the bottom on the new page:
top.WaitWindowVar.close();
Any idea how I can do this?