I have a problem with a browser with the Busy icon. The code is as follows:
$("#busysymbol").show(); $("#busysymbol").position({my:"right top",at:"right top",of:$("#datepicker"),offset:"-3 3"}); var resp = $.ajax({url: "book_ajax.php?req=daysformonth&month=1", cache: false, async: false }).responseText; $("#busysymbol").hide(); var daysInMonth = resp.split(","); ...etc...
This code works fine in Firefox, however in Chrome and Safari the busy symbol is not displayed. I believe that Chrome and Safari cache the changes in the DOM, and call $ ("busysymbol"). Show () is not immediately updated.
Is there a way to get Chrome / Safari to refresh the display.
jquery dom ajax asynchronous refresh
Clive paterson
source share