Can Javascript be used to test the size of a file to be uploaded?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1126905/how-can-you-determine-the-file-size-in-javascript">How can you determine the file size in JavaScript?</a><br>
  <a href="http://stackoverflow.com/questions/7146816/how-to-validate-file-size-before-uploading">How to validate file size before uploading?</a>  </p>
</blockquote>



<p>Does Javascript support a function that posts alert if file which is supposed to be uploaded is bigger than a limit?</p>
