Mike:

If you are validating a form before submitting, or doing validation in
a link onclick, you could do synchronous ajax, and when it returns, it
could have an event bubble boolean.  If return true, then everything
is ok, continue submitting the form or clicking the button, if false,
then things are not ok, Ajax should popup a dialog and the user can
correct things.  Granted you could do async, then the ajax coming back
could just do a form.submit, but why not give people options?  When
doing a synchronous ajax call, the blockUI indicator should appear on
the screen so the user knows whats going on.  Can this be made to
work?

Thanks,
Chris Hyzer

On Feb 13, 7:26 pm, Mike Alsup <mal...@gmail.com> wrote:
> > I have the exact same problem as this post below from a while back,
> > which got no valid response. The reason that I need to usesynchronous
> > calls is that on some ajax submittals we either submit the entire page
> > or return a message to the user, depending on validations -
> > asynchronous will not work for my purposes.
>
> Why woudn't async work?  That's the driving purpose behind blockUI in
> the first place.  To put up a message while waiting for an async
> callback.  As far as I'm concerned there is no valid use case for
> using sync ajax.  None.  Nada.  Zero.
>
> Mike

Reply via email to