FileReader javascript class not working with IE

后端 未结 2 1736
旧时难觅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.

    0 讨论(0)
  • 2021-01-26 05:45

    In IE you should use ActiveXObject because IE is not a browser

    0 讨论(0)
提交回复
热议问题