With the following function you can get a part of the HTML to convert to an image and save to PDF
Question What would be the form, in such a way that allows me to obtain several different IDs in document.body and generate several images and m...
I have the following problem, I am generating PDF files from data captured in the following way:
let rows_ItemsPend = this.items.map(u => {
let Req = u[0].value;
let Requester = u[1].value;
let Service = u[2].value.toString();
let Status_De...
Greetings developer friends, I am using jspdf to print a div that contains my table generated by PHP, I bring the table of a MySQL database, the point is that when I click on a button I generate a PDF with jspdf of the div that contains the tabl...
Hi, I have a problem with the javascript JSPdf,
I have this html
<div id='content'></div>
<div id='editor'></div>
aca hay un foreach de por lo menos 100 elementos con varios <h1> y <div>
</div&...
I want to send a PDF file by email with the javascript library jsPDF. When I run I have this error.
Uncaught TypeError: Cannot read property 'email' of undefined
This is the code:
var pdf = new jsPDF();
pdf.text(0, 0, 'Hell...
I need to take a pdf of a graph that is too large horizontally, and I must do it in several pages of the same pdf using jsPDF and html2canvas
I tried, but it does not work:
<script>
$(document).ready(function() {
//Genera...
I have the following problem. I have a button that has to make a screenshot and generate a pdf. I use the html2canvas libraries (to make the screenshot) and the jsPDF library, to convert the image to pdf. In browsers chrome and firefox works wit...
I have a PDF already created for which I want to insert an image, I tried with the library of jsPDF but I could only create a new PDF does not modify one already created, will anyone know any way to do it?
This is what I have:
var canvas =...
I'm trying to generate a PDF with jsPDF
Part of the code is as follows:
var doc = new jsPDF();
var imgData =' data:...........
doc.setFontSize(22);
doc.text(20, 20, wps()[1][1]);
doc.setFontSize(16);
doc.text(20, 30,...
My problem is that I have a button which sends a parameter to a javascript function.
When I receive it in this function, I want to execute an sql query where the where includes this received variable (this to generate a pdf jspdf and not having...