Skip to content Skip to sidebar Skip to footer

JsPDF Not Working On Safari

I need to have a button at the end of a HTML page that generates and saves a PDF, so I decided to try jsPDF. function pdfComprovativo(arg){ var doc = new jsPDF(); doc.text

Solution 1:

I asked your question on Github, because I had the same the issue. Here is the response of the developer which works for me:

What about doc.output('dataurl'); ?

The PDF is now displayed inline. The user can save it, print it and no new popup is generated.

regards


Post a Comment for "JsPDF Not Working On Safari"