Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

nsIXMLHttpRequestEventTarget

Nossos voluntários ainda não traduziram este artigo para o Português (do Brasil) . Junte-se a nós e ajude a fazer o trabalho!

This interface provides access to the event listeners used when uploading data using the XMLHttpRequest object.
1.0
50
Introduced
Gecko 1.9.1
Inherits from: nsIDOMEventTarget Last changed in Gecko 5.0 (Firefox 5.0 / Thunderbird 5.0 / SeaMonkey 2.2)

Attributes

Attribute Type Description
onabort nsIDOMEventListener A JavaScript function object that gets invoked if the operation is canceled by the user.
onerror nsIDOMEventListener A JavaScript function object that gets invoked if the operation fails to complete due to an error.
onload nsIDOMEventListener A JavaScript function object that gets invoked when the operation is successfully completed.
onloadend nsIDOMEventListener A JavaScript function object that gets invoked when the operation is completed for any reason; it will always follow a an abort, error, or load event.
onloadstart nsIDOMEventListener A JavaScript function object that gets invoked exactly once when the operation begins.
onprogress nsIDOMEventListener A JavaScript function object that gets invoked zero or more times, after the loadstart event, but before any abort, error, or load events occur.

Handling the events

When the handler functions for these events are called, they receive as a parameter a ProgressEvent, which implements the nsIDOMProgressEvent interface.

See also

Etiquetas do documento e colaboradores

 Colaboradores desta página: Sheppy, trevorh, Jürgen Jeka
 Última atualização por: Sheppy,