I would use onCreate to show an element displaying your "please wait" message
(or a graphical spinner, etc.) and use onComplete to hide it
Enjoy,
Christophe
Le 10 févr. 2010 à 15:20, bill a écrit :
> I have an application that uses Ajax.updater. As it runs over the internet
> sometimes the response can take 10 seconds, by which time the user thinks
> that it did not work so I would like to show a message as soon as the link is
> clicked to fire the Ajax request. I am however befuddled.
> If I set the innerHTML of the div with the message, it wipes out the form
> that needs to be sent.
> If I use onSuccess, it takes too long.
> Suggestions ?
> --
> Bill Drescher
> william {at} TechServSys {dot} com
>
> --
> You received this message because you are subscribed to the Google Groups
> "Prototype & script.aculo.us" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/prototype-scriptaculous?hl=en.
--
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en.