Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Frameset onload Event

Frameset onload Event

Frameset Object Reference Frameset Object


Definition and Usage

The onload event is triggered after the page finishes loading.

Syntax

onload="

JavaScriptCode

"

Parameters Description
JavaScriptCode Required. The JavaScript code executed after the event is triggered.

Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the onload event


Example

Example

Pop up "Page is loaded" after the frameset finishes loading:

 

 

Try it »


Frameset Object Reference Frameset Object