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=openWa itWindow()
And at the bottom I use top.waitwindow. close();
But this is not working at all.
Declared in the frame window
top.WaitWindowV ar = null;
On the submit page
function openWaitWindow( )
{
top.WaitWindowV ar=window.showM odelessDialog(" WaitWindow.html ","Dialog
Arguments Value","dialogH eight:100px; dialogWidth:200 px; dialogTop:px;
dialogLeft:px; edge:Raised; center:Yes; help:No; resizable:No; status:No;
scroll:No; Unadorned:Yes ");
}
And at the bottom on the new page:
top.WaitWindowV ar.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=openWa itWindow()
And at the bottom I use top.waitwindow. close();
But this is not working at all.
Declared in the frame window
top.WaitWindowV ar = null;
On the submit page
function openWaitWindow( )
{
top.WaitWindowV ar=window.showM odelessDialog(" WaitWindow.html ","Dialog
Arguments Value","dialogH eight:100px; dialogWidth:200 px; dialogTop:px;
dialogLeft:px; edge:Raised; center:Yes; help:No; resizable:No; status:No;
scroll:No; Unadorned:Yes ");
}
And at the bottom on the new page:
top.WaitWindowV ar.close();
Any idea how I can do this?
Comment