Use this for general web page loading questions (HTML, PHP, ASP, etc).
Questions tagged [pageload]
904 questions
2176
votes
39 answers
$(document).ready equivalent without jQuery
I have a script that uses $(document).ready, but it doesn't use anything else from jQuery. I'd like to lighten it up by removing the jQuery dependency.
How can I implement my own $(document).ready functionality without using jQuery? I know that …
![](../../users/profiles/1965.webp)
FlySwat
- 160,042
- 69
- 241
- 308
854
votes
26 answers
How to make JavaScript execute after page load?
I'm executing an external script, using a