How to remove dialog box on a long running Javascript?

Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
Faced with this problem, yuzaya AJAX long connection and receive/send data (slow connection and not Barony ajax) — how to make Google Chrome climbs the window with the page problems? Maybe the key to what the browser has to cancel this window?
PS: the Variant with asynchronous ajax is not a ride =(
by | 3 views

3 Answers

0 like 0 dislike
Try to break the received data into small pieces, pull them one by one in a loop, simulating the cycle Directive setTimeout(getOnePartofData(),0), the result will be short moments of sagging of the browser, and he can stop fighting :)
Example you should see:
0 like 0 dislike
0 like 0 dislike
And what's the problem with asynchronous ajax?

Related questions

110,608 questions
257,186 answers
28,013 users