javascript IMG fileSize
| fileSize | NN n/a IE 4(Win)/5(Mac) 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. |
|
Previous: javascript IMG fileUpdatedDate
980,Nickname,Homepage or email,Comments here,Add comment
