I have the following problem: I’ve got a website that can’t have dependencies to javascript-files. I want to have the same function as $(document).ready() in jquery. How would that look like? Thanks.
I have the following problem: I’ve got a website that can’t have dependencies to
Share
onLoadworks, but it waits until all images and stuff are loaded. If you just want it to run when the DOM is ready, you can do this (found here):