我试图在 IE9 中获取文件信息,但由于某种原因我无法获取文件信息。
我的代码有什么问题吗?我试图将其分解为 the simplest example I could 。这适用于 Chrome,但不适用于 IE:
<input name="file" type="file" onpropertychange="alert(this.files);" onchange="alert(this.files);" />
最佳答案
IE9 中未实现File API
。
关于javascript - IE9 在文件输入选择框中无法看到 "files",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18136402/