S
S
SovGVD2010-10-14 16:29:15
Google Chrome
SovGVD, 2010-10-14 16:29:15

How to remove Javascript long running dialog?

I ran into such a problem using AJAX for a long time connecting and receiving / transmitting data (slow connection and not asynchronous ajax) - how can I do this so that Google Chrome does not pop up a window with a problem page? Maybe there is a key in this browser to cancel this window?
PS: The option with asynchronous ajax will not work =(

Answer the question

In order to leave comments, you need to log in

3 answer(s)
B
begebot, 2010-10-14
@begebot

Try to break the received data into small pieces, pull them one by one in a loop, simulating a loop with the setTimeout(getOnePartofData(),0) directive, as a result there will be short moments of the browser hanging, and it may stop cursing :) You
can see an example here:
www.jstoolbox .com/2008/01/29/zapusk-skriptov-trebuyushhix-znachitelnogo-vremeni-vypolneniya/

R
rushman, 2010-10-15
@rushman

try WebWorkers

L
Leonid Svyatov, 2010-10-15
@Svyatov

What is the problem with asynchronous ajax?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question