If you are using Ajax, then this can be a simple solution....

Just before making the ajax call, show an animated picture, or a
blinking text saying "Please wait".

When you get the response from the server, in the success method,
remove this pic/text and display a success message.

Dexter...

On Apr 24, 8:25 pm, Remon Oldenbeuving <r.s.oldenbeuv...@gmail.com>
wrote:
> If youre using ajax you should look at the "Ajax-events" section 
> here:http://docs.jquery.com/Ajax
>
> You can easily bind a function to an ajax-event. This way you will be able
> to freeze the screen, or disable all buttons.
>
> On Fri, Apr 24, 2009 at 5:02 PM, Shadraq <shadraq.thee...@gmail.com> wrote:
>
> > I've designed a payment system that, generally gets a response
> > quickly. However, if there is any delay at all, customers will click
> > "Pay" again, thinking that they didn't hit it. This, of course, will
> > cause duplicate transactions.
>
> > I'm looking for some sort of "Please wait while we process your
> > request." message/decal/modal that freezes the screen while the
> > payment is processing, and releases once a response comes back from
> > the server.
>
> > Any ideas/links to examples. I googled and searched the UI...and
> > didn't find anything that I could use. It is likely I missed
> > something.
>
> > Thanks,
>
> > Shadraq

Reply via email to