Convert html to pdf in javascript

<script src="https://raw.githack.com/eKoopmans/html2pdf/master/dist/html2pdf.bundle.js"></script> <script> document .getElementById("jsPrintAll") .addEventListener("click", function download() { const element = document.getElementById("print"); html2pdf() .from(element) .save(); }); </script>
Deepak Sharma
Asked 23-12-2024
13

Submit your answer