Javascript Reference
Categories: IMG

javascript IMG fileSize

@March 15, 2008, 1:22 a.m.
fileSizeFirefox/Netscape/NN n/a IE 4(Win)/5(Mac) Chrome/Safari/DOM n/a  

Read-only  

Returns the number of bytes for the size of the currently-loaded image. IE for Windows returns this value as a string, while IE for Macintosh returns a number value (although its value is 0).

 
Example
 
var byteCount = parseInt(document.fileSize, 10);
 
Value

Integer as string (Windows) or number (Mac).

 
Default

None.

Hello gakaa.com admin, Thanks for the informative and well-written post!
Samuel Raney - 1 weeks
Benagiano, G <a href=https://cialis.lat/discover-the-best-prices-for-cialis>cialis generic name</a>
ENTAICY - 6 months
lipitor drug <a href="https://lipiws.top/">lipitor 80mg pills</a> order lipitor pills
Oxapak - 10 months

Powered by Linode.