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


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

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


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 Status Comment
HTML Living Standard
The definition of 'loadstart' in that specification.
Living Standard  

Document Tags and Contributors

Contributors to this page: rolfedh, Guillaume-Heras
Last updated by: rolfedh,