[This documentation is preliminary and is subject to change.]
Raised when the browser starts receiving data from the server.
Syntax
| HTML Attribute |
<element onprogress = "handler(event)">
|
| Event Property |
object.onprogress = handler;
|
| attachEvent Method |
object.attachEvent("onprogress", handler)
|
Standards information
There are no standards that apply here.
Event information
| Synchronous | No |
| Bubbles | No |
| Cancelable | No |
Event handler parameters
This method has no parameters.
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
-
XDomainRequest Constructor
-
XMLHttpRequest Enhancements in Internet Explorer 8
Build date: 2/14/2012