FileReader icon indicating copy to clipboard operation
FileReader copied to clipboard

IE 8 Issue

Open joanrm20 opened this issue 10 years ago • 4 comments

On IE 8 e.target.files is undefined, I think is because the .files attribute does not exists. What should I use instead to get the file(size,name,bynarydata?)?

Thank you.

joanrm20 avatar Feb 13 '14 12:02 joanrm20

Same in IE9 -> Unable to get value of the property '0': object is null or undefined

I don't think this shim works do you?

homeloan avatar May 21 '14 10:05 homeloan

In the same situation here, have you guys found any workaround?

cyeong avatar Jun 25 '14 12:06 cyeong

No, in the end I have given up with polyfills/shims , even when I got the FileReader to work in IE9, the XHR Level 2 polyfill didn't work, so I couldn't submit the form using FormData & Progress event.

In the end I went for the watershed solution, which has made things a whole lot easier but might not be viable for your user base.

1DMF avatar Jun 25 '14 12:06 1DMF

Yeah unfortunately the client demands IE9, but thanks for the reply anyway. Cheers

cyeong avatar Jun 25 '14 13:06 cyeong