Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/styllloz/public_html/qa-include/qa-base.php on line 1175

Warning: session_start(): Cannot start session when headers already sent in /home/styllloz/public_html/qa-include/app/users.php on line 162

Warning: Cannot modify header information - headers already sent by (output started at /home/styllloz/public_html/qa-include/qa-base.php:1175) in /home/styllloz/public_html/qa-include/app/users.php on line 1267

Warning: Cannot modify header information - headers already sent by (output started at /home/styllloz/public_html/qa-include/qa-base.php:1175) in /home/styllloz/public_html/qa-include/app/page.php on line 356
How to remove dialog box on a long running Javascript? - code-flow.club | Q&A

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
6 views
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 | 6 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 :)
\r
Example you should see:
\rwww.jstoolbox.com/2008/01/29/zapusk-skriptov-trebuyushhix-znachitelnogo-vremeni-vypolneniya/
by
0 like 0 dislike
by
0 like 0 dislike
And what's the problem with asynchronous ajax?
by

Related questions

110,608 questions
257,186 answers
0 comments
35,182 users