I am trying to use the html input type=file
element and get files from it using document.getelementbyid("..").files
and it is working fine in chrome and firefox but not in IE 10. I've gone through alot of blogs and most suggest that IE 10 onwards support the File object but its not working for me in either IE 10 or IE 11. Can someone please help me out with this.
code:
HTML:
<input type="file" id="fuAttachment" name="fuAttachment" class="mof-strip-file" style="width:68%;" />
Javascript:
var inputfile = document.getElementById("fuAttachment").files[0]; –