Determine if javascript has completed.
Posted
by Duracell
on Stack Overflow
See other posts from Stack Overflow
or by Duracell
Published on 2010-06-07T00:06:15Z
Indexed on
2010/06/07
0:12 UTC
Read the original article
Hit count: 220
JavaScript
My question is somewhat similar to this one. We want to know if there's a way to determine if all javascript has completed (so no javascript is running). We have a lot of stuff that runs on a timeout after the page's onload event, so even after the page is loading, stuff could be happening for a few seconds. For a whole bunch of reasons, mostly relating to requirements from management, we need to know when all of these scripts have finished running. There's an arbitrary number of them so a general solution would be great.
© Stack Overflow or respective owner