Jump to content

oto start a function


westman

Recommended Posts

You're overwriting the variable with a function. By the way, you need to declare variables with "var" To make a function execute after the page has loaded, use the onload event.

window.onload = otoload;function otoload() {    // Do something}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...