The ProgressEvent.total read-only property is an integer representing the total amount of work that the underlying process is in the progress of performing. When downloading a resource using HTTP, this only represent the content itself, not headers and other overhead.
Syntax
value = ProgressEvent.total
Specifications
Browser compatibility
 
  
   | Feature | Chrome | Edge | Firefox (Gecko) | Internet Explorer | Opera | Safari | 
  
   | Basic support | No support | (Yes) | 3.5 (1.9.1) | No support | No support | No support | 
 
 
 
  
   | Feature | Android | Edge | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile | 
  
   | Basic support | No support | (Yes) | 1.0 (1.9.1) | No support | No support | No support | 
 
 
See also
              
                
                
                  Document Tags and Contributors