經安全檢測,此網站為安全網站,請放心前往原始網址!

javascript - run function when page is loaded - Stack Overflow

I want to run a function when the page is loaded, but I dont want to use it in the body tag. I have a script that runs if I initialise it in the body -like this: function codeAddress ...

stackoverflow.com

網址安全性掃描由 google 提供