0

Is there an equivalent of the accept attribute (in <input type="file">) which works in HTA (or in IE7 because HTA works like IE7)?

Donald Duck
  • 6,488
  • 18
  • 59
  • 79
  • 1
    Actually [HTA can also work like IE11](http://stackoverflow.com/a/19570684/1169519). Just use HTML5 DTD and `x-ua compatible` `meta` tag with value `ie=edge`. This needs you to have IE11 installed ofcourse. – Teemu Dec 30 '14 at 11:56
  • Perfect. You could have posted that as an answer. – Donald Duck Dec 30 '14 at 15:02
  • 1
    Well, a new answer would be only a dup of the linked answer. Notice, that HTA has been deprecated starting from IE10, hence there are some limitations to the HTA window properties when running in IE=10 or later mode. – Teemu Dec 30 '14 at 15:17
  • I noticed that... It doesn't support frames or the `` tag. I answered only after testing it on a simple HTA with only a `` and a `<input type="file"/>`. – Donald Duck Dec 30 '14 at 17:55
  • Unfortenately that's the case. There's some discussion about this in the comments below the answer linked in my comment above. `frameset` and `frame`s are not supported in HTML5, hence they can't be used in IE9+ modes. – Teemu Dec 30 '14 at 20:33

0 Answers0