onprogress event

Raised when the browser starts receiving data from the server.

Internet Explorer 8

Syntax

HTML Attribute <element onprogress = "handler(event)">
attachEvent Method object.attachEvent("onprogress", handler)

Event information

SynchronousNo
BubblesNo
CancelableNo

Event handler parameters

This method has no parameters.

Standards information

There are no standards that apply here.

Remarks

When the onprogress event occurs, partial data can be retrieved using responseText.

The onprogress event may occur 0, 1 or many times in the time interval between the send method call and the onload event.

To invoke this event, do one of the following:

  • Event handlers are called as needed after a request is sent.

Examples

Setting the onprogress property.



function progres()
{
    alert("XDR onprogress");
    alert("Got: " + xdr.responseText);
}
...
xdr.onprogress = progres;


See also

XDomainRequest
XMLHttpRequest Enhancements in Internet Explorer 8

 

 

Show:
© 2014 Microsoft