title: JQuery - File attributes
body: <p>Trying to access file attributes from an input field after a file is selected.
  Tried this but get the error 'file not defined'</p>
  
  <pre><code>var file = $("#uploadedfile").prop("files")[0];
  var fileName = file.fileName;
  var fileSize = file.fileSize;
  alert("Uploading: "+fileName+" @ "+fileSize+"bytes");
  </code></pre>