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?
-
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– adeneo2014-01-31 20:42:54 +00:00Commented Jan 31, 2014 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– krisk2014-01-31 20:46:19 +00:00Commented Jan 31, 2014 at 20:46
-
possible duplicate of ie javascript form submit with file inputadeneo– adeneo2014-01-31 20:51:17 +00:00Commented Jan 31, 2014 at 20:51
Add a comment
|