By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,747 Members | 1,782 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,747 IT Pros & Developers. It's quick & easy.

Popup window control

P: n/a
Hi,

I have a little popup window, that runs a query, then writes the query
resultset back to parent window, sometime, this process could take
some time, so, I'd like this little popup window to display something
like "Please wait".
I tried both adding document.write("Please wait ...")> to the top of
the popup window file/script and plain HTML Please wait ... to the top
of the popup, neither displays. How come?

TIA
Jul 23 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Lee
DaaaDaaa said:

Hi,

I have a little popup window, that runs a query, then writes the query
resultset back to parent window, sometime, this process could take
some time, so, I'd like this little popup window to display something
like "Please wait".
I tried both adding document.write("Please wait ...")> to the top of
the popup window file/script and plain HTML Please wait ... to the top
of the popup, neither displays. How come?


It's hard to guess without seeing some code.
You're probably not loading the contents of the popup until
the query has returned.

Jul 23 '05 #2

P: n/a
> It's hard to guess without seeing some code.
You're probably not loading the contents of the popup until
the query has returned.

Thanks but that would defeat the purpose. The point is, to display a
msg that it's loading ...
Thus, the msg must display while the loading process starts.
And that's the reason why I place the document.write("Please wait
....") to
top of the script, and yet to no avail.

My thinking is on structured/procedural process while js is oo, hence,
js is not cooperating?
Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.