Does any browser other than IE support document.fileSize or equivalent?
http://msdn.microsoft.com/en-us/library/ms533752(v=VS.85).aspx
document.fileSizeis an extension only for IE: https://developer.mozilla.org/en/DOM/document . In other browsers, you can retrieve the object using XHR and examine the Content-Lengthresponse header .
document.fileSize
Content-Length
Source: https://habr.com/ru/post/1751220/More articles:Can NHibernate be configured to remove children when their links are set to zero? - nhibernateHow to optimize a SQL query with calculating the distance in longitude and latitude? - sqlΠ₯ΠΎΡΠΎΡΠΈΠ΅ ΠΏΡΠΈΠΌΠ΅ΡΡ Π΄ΠΈΠ½Π°ΠΌΠΈΡΠ΅ΡΠΊΠΈΡ ΡΠΎΠΎΠ±ΡΠ΅Π½ΠΈΠΉ ΠΎΠ± ΠΎΡΠΈΠ±ΠΊΠ°Ρ ? - designComplex amount with grouping - sqlSpecify an arbitrary folder as Android assets? - androidHow to use Alvas.Audio to detect any sounds? - c #Is it possible to "watch" Haml files in Compass (a tool for creating styles)? - compass-sassChange jquery text color - jqueryClear open carts in Uberkart - drupalWhat programs should have an explicit resource? - windows-7All Articles