I want to run a function when the page is loaded, but I don’t want to use it in the tag.
I have a script that runs if I initialise it in th
As soon as the page load the function will be ran:
(*your function goes here*)();
Alternatively:
document.onload = functionName(); window.onload = functionName();