Tuesday, April 19, 2011

Void Google Chrome pointer spinning for long Ajax connection

Put the request in a timer, or link, never directly put in page onload event

function onload() {
setTimeout(function() { // start ajax long connection in another thread to avoid google Chrome pointer spinning
doLongAjaxCallLoop ();
}, 3000);
}



No comments: