UK ['ɒnləʊd] US ['ɒnloʊd]

vt.Loading

javascript onload attribute syntax

Function:Occurs immediately after the page or image is loaded.

Syntax:onload="SomeJavaScriptCode"

Parameters:SomeJavaScriptCode Required. Specifies the JavaScript to be executed when this event occurs.

javascript onload attribute example

   

Run instance »

Click the "Run instance" button to view the online instance