javascript - Check if something was processed -


the solution needs work @ least in chrome. detect when document ready. wait, not verify document.readystatus or document.onreadystatechange.

when use xmlhttprequest, instance, page "processing" something. , need exact moment when process end , trigger callback. problem don't have access xmlhttprequest implementation code. can check document status, instance.

so, instance, if on page had 4 xmlhttprequest running, , 3 had end, nothing have, yet. after last 1 stop process, callback triggered.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -