Re: xmlRequest.onprogress questions

Neil Deakin <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xml
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Michael Vincent van Rantwijk wrote:
> What properties are there for:
> 
> xmlRequest = new XMLHttpRequest();
> xmlRequest.onprogress = onXMLProgress <-
> 
> onXMLProgress: function(aEvent)
> {
>   aEvent.target points to the request, but what else can I use?
>   How do I get the progress percentage and total size?
> }

The progress event is defined in the DOM load/save spec. You can use:

position
totalSize

/ Neil
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.