GlobalEventHandlers.onloadstart

The onloadstart property sets and returns the event handler for the loadstart event.

Syntax

element.onloadstart = handlerFunction;
var handlerFunction = element.onloadstart;

handlerFunction should be either null or a JavaScript function specifying the handler for the event.

Notes

See the DOM event handlers page for information on working with on... handlers.

The loadstart event is fired when progress has begun.

See the loadstart event documentation for more information about the event.

Specification

Specification Status Comment
HTML Living Standard
The definition of 'loadstart' in that specification.
Living Standard