|
Posted by Erwin Kloibhofer on 09/22/05 00:35
what if i have a webpage that displays the text "please wait, this may take
a few seconds..." and it now waits until some event on the server happens.
whatever this is, this can be quick, but it could also be slow, or it can
even fail. but once this event has happened, i want the webpage to reload
and display a different message, like "the process completed successfully".
my question now is, how would i achieve this without constant visible
reloads? (which would probably be the simplest solution). is there a way to
do invisible polling via maybe a javascript (somewhere i picked up that
"ajax can do that")? what i want to achieve is that only if the event i was
waiting for actually occured, i want the webpage to actually visibly
reloaded, and displaying the new message.
what approach do for instance professional payment systems take, while the
client is waiting if the credit-card number is valid?
can someone push me in the right direction?
Navigation:
[Reply to this message]
|