Safari hangs during Ajax async call, unable to issue a wait message to user

Safari 4.0.4, Mac

When Ajax is called in Sync mode, a wait message and/or image can be displayed to the end user. In Async mode however, any wait message (or screen redraw except a JavaScript alert statement) is simply ignored by Safari which just hangs with the spinning ball until the server-side Ajax program return its data.

I have tried multiple ways to find a workaround, always failed.
Firefox, Opera and IE shows the correct behaviour.

Simple testcase available:
http://atdb.aero/v5/dev/waitinajax/wait.html
The called php is simply:
<?php
sleep(10);
+echo '({ "msg": "I slept during 10 seconds" })';+
?>


Any help appreciated. Thanks.

MiniMac, iBook, Ipod, etc - my first Apple ][ in 1981

Posted on Mar 24, 2010 4:16 PM

Reply
2 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Safari hangs during Ajax async call, unable to issue a wait message to user

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.