The File API isn't working in IE9

fileapi, internet-explorer-9

Solution

Im trying to get the file size and file type from an input field...

That requires the File API, which isn't supported by IE9.

(And note that `size` is already a number [on browsers that support the File API], no need to `parseInt` it.)

Problem

I'm trying to get the file size and file type from an input field from my form using jQuery. I thought it was working however apparently not in IE 9. Any insight would be greatly appreciated ``` var my_field = this.files[0]; var myInteger = parseInt(my_field.size); var myType = my_field.type; ```

Original source