FileReader javascript class not working with IE

后端 未结 2 1734
旧时难觅i
旧时难觅i 2021-01-26 05:32

I\'m using javascript FileReader class to preview the image prior to uploading it to the server. Everything seems to work fine with Firefox and Chrome but it does not seem to wo

2条回答
  •  孤城傲影
    2021-01-26 05:43

    FileReader is a relatively new addition to JavaScript and because Internet Explorer is old it doesn't support it yet. Internet Explorer 7/8 doesn't support it at all and IE9 only has partial support for offline storage. Internet Explorer 10, however, is going to get early support. I would just stick a message on there for IE users telling them (politely, of course) to get a real browser.

提交回复
热议问题