top of page
Search
tletippolsimp1985

Export-div-to-pdf-using-jquery

Open the HTML page in any of your favourite Web browser. · Go for the printing the page (Ctrl P). · Now change the printer to 'Microsoft Print to PDF'. · Adjust your ...












export-div-to-pdf-using-jquery


5. doc.save('div.pdf');. 6. } 7. ​. 8. function printDiv(divId,. 9. title) {. 10. ​. 11. let mywindow = window.open('', 'PRINT', 'height=650,width=900,top=100,left=150');.. You need to declare the “doc” variable outside the click event. When the button is clicked for the first time, the doc variable contains a new .... I want to download that div as a pdf when user click on download button. Is there a way to do that using javascript or jQuery? 3925e8d270





2 views0 comments

Recent Posts

See All

Comments


bottom of page