Popup window control

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • DaaaDaaa

    Popup window control

    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
  • Lee

    #2
    Re: Popup window control

    DaaaDaaa said:[color=blue]
    >
    >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?[/color]

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

    Comment

    • DaaaDaaa

      #3
      Re: Popup window control

      > It's hard to guess without seeing some code.[color=blue]
      > You're probably not loading the contents of the popup until
      > the query has returned.[/color]
      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?

      Comment

      Working...