Home › Forums › JavaScript › Async problem › Reply To: Async problem
February 13, 2016 at 9:04 am
#238001
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 readyState
to 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.