Merge two PDF's generated with jsPDF into one document
问题 I'm using jsPDF for generation of document from HTML (with using .html() method) and it works fine. But now I need to do next: Create jsPDF object. Add content with using .html() method. Add new page to created document. Add content to second page with using the same .html() method. Save created document. Here is the code example: var doc = new jsPDF({ orientation: 'p', format: 'a4' }); doc.html(document.getElementById('test'), { callback: function (doc) { doc.addPage('a4', 'p'); doc.html