I have a page that includes a download button using jsPDF. On desktop machines it downloads the page as it should. However, pdf.save() does not work on my table
pdf.save()
Here is the solution of download on mobile with jspdf
if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) { var blob = pdf.output(); window.open(URL.createObjectURL(blob)); } else { pdf.save('filename.pdf'); }