Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
Internet Explorer
Web Applications
Events
 onprogress event
onprogress event

[This documentation is preliminary and is subject to change.]

Raised when the browser starts receiving data from the server.

Internet Explorer 8

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

SynchronousNo
BubblesNo
CancelableNo

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

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker