title: File Upload size validation not working on IE
body: <p>Hi I implemented upload max file size validation using jQuery and it is working fine in<br>
    chrome and firefox not working in IE</p>
  
  <pre><code>$('#file').change(function() {           
           fileSizeError = (this.files[0].size/(1024*1024) &gt; 1) ? true : false;
      });
  </code></pre>
  
  <p>please help me how to resolvw this problem</p>
  
  <p>After googling i found one solution that is to create an ActiveXObject.The code is below</p>
  
  <pre><code>var myFSO = new ActiveXObject("Scripting.FileSystemObject");
          var filepath = document.upload.file.value;
          var thefile = myFSO.getFile(filepath);
          var size = thefile.size;
          alert(size + " bytes"); 
  </code></pre>
  
  <p>But iam unable to create an ActiveXObject my objective is this code is work on IE and 
    other browsers also.</p>