How to open the pdf generated by jsPDF in a new browser tab

0

I can save by downloading through:

doc.output('save', 'filename.pdf'); //Try to save PDF as a file (not works on ie before 10, and some mobile devices)
doc.save('filename.pdf')

And I'm trying to use:

doc.output('dataurlnewwindow');     //opens the data uri in new window

but is opening a blank tab without the pdf, can anyone help me?

How do I open it:

    
asked by anonymous 28.03.2018 / 19:20

0 answers