Hi,

in the $.ajax() function there is an option (async) which is boolean
and is true by default, you have to set it false.


"async      Boolean           Default: true
By default, all requests are sent asynchronous (e.g. this is set to
true by default).
If you need synchronous requests, set this option to false.
Note that synchronous requests may temporarily lock the browser,
disabling any actions while the request is active."

http://docs.jquery.com/Ajax/jQuery.ajax#options

byeee

PS: actually I'm newbie, not sure if what I said will work... ;-)

On Apr 9, 10:10 pm, steve_f <[EMAIL PROTECTED]> wrote:
> Has anybody implemented a synchronous ajax call with a timeout. I
> cannot get the timeout to fire, instead the ui just locks up, I cannot
> really have this in a live environment, it would really hack a user
> off!!!
> I am trying to use the synchronous call to complimenta client side
> asp.net validator therefore I need to wait for the return value of the
> webmethod. Anyone got a good approach or solution.
> Thanks

Reply via email to