Forums - C# Corner

Forum guidelines
p j

p j

  • 1.5k
  • 3
  • 55

unable to read selected file details in IE 11

Oct 12 2017 7:38 AM
  var file = $(cssDocumentUploadFile)[0].files[0];
   var extension = file.name.substring(file.name.lastIndexOf('.') + 1); 
 
 
 
     error :  (Unable to get property '0' of undefined) 

Answers (2)