download csv In safari not working any solution.
<script>
var convertedCsv = "name,Designation,City,State,email,mobileNumber,roleType,signUpDate+\n" +
"A,B,C,D,F,G,I,J \n" +
"A1,B1,C1,D1,F1,G1,I1,J1";
var data = new Blob([convertedCsv], {type: 'text/csv'});
var csvFile = window.URL.createObjectURL(data);
window.open(csvFile, "amit");
</script>