Contents

onload

A callback function that is called when the request is successfully completed.

Declaration

attribute function onload;

Discussion

This attribute must be set to a function; for example, XMLHttpRequest.onload = function () {}.

See Also

Implementing Callback Functions