Lets say I make an Ajax call. The handler for the response could be this:
function handleAjaxResponse(data) {
//Do changes to the dom, wich takes 2 seconds
}
Until the Response is in coming, everything is fine. The problem is in handling it.
My problem is with the latest Versions of Internet Explorer and Firefox. This browsers, block the UI Process until handleAjaxResponse
is full executed. With block I mean, I can do nothing, the website is hanging.
I found out, that Google Chrome has no problem with this.
So is there a way, to repaint the document, without blocking the UI Process in FF and IE?