I am using jspdf to generate a pdf file. Every thing is working fine. But how to open generated pdf in new tab or new window.
I am using
I have to use this to load the PDF directly. Using doc.output('dataurlnewwindow'); produces an ugly iframe for me. Mac/Chrome.
doc.output('dataurlnewwindow');
var string = doc.output('datauristring'); var x = window.open(); x.document.open(); x.document.location=string;