Click to See Complete Forum and Search --> : Closing the "Processing.. Please wait.." page
mraghu
07-09-2003, 10:40 AM
I have a <a href> for a report. Clicking on that goes to an intermediate window which says "Report is processing. Please Be patient". Then I have a submit on the intermediate page which takes it to the action page that does the action for displaying the excel sheet.
My objective here is to close the intermediate window as soon as the excel sheet gets displayed. How can I do that using Javascript? Any ideas? Thanks.
Khalid Ali
07-09-2003, 10:48 AM
JavaScript really does not have control on what you want it to do.you will have to resort to a work around to get this done(In my opinion).
for e.g
as you mentioned you open an interm window and that interim window then opens another window to display excell spread sheet.
What you can do is ( i am not sure how excel part works so if I am out of line then disregard this :p ) in the onload event of the page that loads the excel SS set a variable to true(which would mean that excell SS is loaded now at the same time in the interim window continously check this variables value from the excell SS page and as soon as its loaded close the interim window..