Invoking a click event on file input element to show browser dialog, results in access is denied message in IE, when submitting the form. Is there no way to achieve file uploads by invoking click event on input file manually, in IE, using pure javascript?
Asked
Active
Viewed 352 times
0
-
So is the issue submitting a form when the change event fires, or the fact that triggering a click on the upload button doesn't work ? – adeneo Jan 31 '14 at 20:42
-
I can submit the form on change event, when I click on the browse button manually. But when I use .click() function, to invoke the browser dialog by clicking on some different button, I'm shown access denied message when the form is about to submit. – krisk Jan 31 '14 at 20:46
-
possible duplicate of [ie javascript form submit with file input](http://stackoverflow.com/questions/9396411/ie-javascript-form-submit-with-file-input) – adeneo Jan 31 '14 at 20:51