When button onclick run the export_form() function, what I miss up? The content is not as like in the browser view. It's smaller from my browser.

function export_form(){
console.log('export');
var pdf = new jsPDF("p", "pt", "a4");
pdf.addHTML($('#container_section'), 15, 15, function() {
console.log('export');
pdf.save('web.pdf');
});
}
Do you need help in webdesign?
SCNR.
May I know what is the problem?
The browserview is depending on your css etc.. So if your html-code or css is faulty, what do you expect you get in the pdf?
use particular size of a4 shit
var pdf = new jsPDF('l','mm',[297, 210]);
It will work
use particular size of a4 shit
var pdf = new jsPDF('l','mm',[297, 210]);It will work
Sheet * not shit ;)
Most helpful comment
Sheet * not shit ;)