Hello,

I've spent at least one hour on figuring out how to work out this "oo" thing.  Here's the scoop, I have one Main window, which contain form and elements, upon certain action, triggers a popup window, which does two things of 1) query a database to pull certain data out; 2) write the data to (populate) the Main window, then, close itself.   

However, since, query/data retrieval and population may take a while, so, I'd like to add msg like, "Please wait ..." upon loading, and yet, it causes double buffer, the single popup window won't do, which leaves me with no choice but to add another little named popup window to say "Please wait ...".  These two popup windows are loaded in the sequence of pop msg and pop data loader.  Problem, pop data loader, closes itself upon job completion, fine, but the pop msg window won't close.

Here's the relevant code:

MAIN Window
tons of stuff
event trigger:
pop1();
pop2();

pop1 about msg
  msgWin = (window.open('pop1.htm','msg','');
  msgWin.focus();

pop2 about data loader
  do tons of stuff;
  // close pop1 window
  msgWin.close();
  // also tried, msg.close() to no avail
  self.close();


TIA
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to