0

Does anyone know if HTAs support FileReader() when IE10 or IE11 are installed?

Example: var reader = new FileReader();

I'm getting "Object doesn't support this action" but FileReader() is supported on IE10 and IE11, so shouldn't it be available on HTAs too?

Thanks,

Mario

mariojjsimoes
  • 31
  • 1
  • 1
  • 3

1 Answers1

0

If you don't have this flag, try adding it to your HTA:

 <meta http-equiv="X-UA-Compatible" content="IE=10">

If other things fail, you can drop back to the windows API to read/write files:

Javascript in html write to file

Community
  • 1
  • 1
Jeremy J Starcher
  • 23,369
  • 6
  • 54
  • 74