I am using alasql plugin to generate and export excel file in javascript. This works fine, but in safari browser in ipad/iphone it does not download any excel and sometimes gives error like cannot download the file. How do i solve this issue in safari?
function createexcel(data, excelName) {
alasql('SELECT * INTO XLSX("' + excelName + '",{headers:true}) FROM ?', [data]);
}