Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

300
Views
necesita jsPDF y html2pdf para crear pdf y descargarlo pero no hay respuesta

Necesito crear una función que convierta las páginas web en un archivo pdf, luego descargarlo después de hacer clic en la función.

mi función es

 $('<script src="/webroot/help/jspdf.min.js"></script>').appendTo('head'); $('<script src="/webroot/help/html2pdf.js"></script>').appendTo('head'); var jsPDF = window.jspdf.jsPDF; var pdf = new jsPDF('1','pt','a4'); pdf.canvas.height=72*11; pdf.canvas.width = 72*8.5; html2pdf($("div[widgetname=DC]"),pdf,function(pdf){ pdf.save('file.pdf'); });

No verifiqué descargas ni mensajes de error.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!