O'Reilly logo

Essential JavaScript™ for Web Professionals, Second Edition by Dan Barrett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

onLoad

Description: This handler is triggered when all of the content is finished loading into a window or all of the frames within a frameset. It can also be triggered by the loading of an image.

Syntax: onLoad ="code to be executed"

Implemented in: Navigator 2.0/3.0

Used within: Image, Layer, Window

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required