Easy Tutorial
❮ Met Form Reset Event Onmousemove ❯

onload Event


Definition and Usage

The onload event is triggered immediately after the page has finished loading.

Syntax

Parameter Description
JavaScriptCode Required. The JavaScript to be executed when the event occurs.

Browser Support

All major browsers support the onload event.


Example

In this example, the text "Page is loaded" will be displayed in the status bar:

❮ Met Form Reset Event Onmousemove ❯