You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using jquery.filedrop.js file to drag and drop file for uploading in mvc. It is working fine in Firefox and chrome but when i used the same in IE 11 getting issue in FileReader.readAsBinaryString line. I did some googled and got to know that IE 11 is not supporting this method. I have also gone with this link and used arraybuffer instead of binarystring this is working fine with IE 11 but when i open the file getting "This file format is different".
below is my bunch of code of filedrop.js where i changed from binarystring to arraybuffer.
` if (beforeEach(files[fileIndex]) != false) {
if (fileIndex === files_count) return;
var reader = new FileReader(),
max_file_size = 1048576 * opts.maxfilesize;
Hi All,
I am using jquery.filedrop.js file to drag and drop file for uploading in mvc. It is working fine in Firefox and chrome but when i used the same in IE 11 getting issue in FileReader.readAsBinaryString line. I did some googled and got to know that IE 11 is not supporting this method. I have also gone with this link and used arraybuffer instead of binarystring this is working fine with IE 11 but when i open the file getting "This file format is different".
below is my bunch of code of filedrop.js where i changed from binarystring to arraybuffer.
` if (beforeEach(files[fileIndex]) != false) {
if (fileIndex === files_count) return;
var reader = new FileReader(),
max_file_size = 1048576 * opts.maxfilesize;
Please help me to make this code works in IE also.
The text was updated successfully, but these errors were encountered: