Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Async problem Reply To: Async problem

#238001
Shikkediel
Participant

That would sort of the defeat the point of using async loading if you ask me. Usually when working with this, one would use readyStateto determine if the document is ready to be manipulated.

Window loaded would be a better approach than setting a timeout. Or listening to the onload event of the script itself and execute it whenever that happens…

I recently made this work on my own site and it’s quite complicated.