<input id="file" type="file" accept=".xls,.xlsx" style="width: 220px;" onchange="editType();"/> function editType(){ let file=$("#file").val(); if(!file){ let filename=file.substr(file.last
.error(function(error){ var decodedString = String.fromCharCode.apply(null, new Uint8Array(error)); var obj = JSON.parse(decodedString); var message = obj[0].description; console.log(message); });