noun
- an event that occurs when a web page or resource finishes loading in a browser
Usage: computing; web development
adjective
- relating to or triggered by the completion of loading a web page or resource
Usage: computing; web development
Examples
- The onload event fires after the entire page has loaded.
- You can use the onload attribute to run a script when the page finishes loading.
- The developer attached an onload handler to initialize the application.
- The onload function displays a welcome message to users.
- Modern web frameworks often manage onload events automatically.
- The image's onload event confirms that the resource has been successfully retrieved.