hey,
i am using below code to print the div as a pdf but i get blank page as a pdf so please help me.
$(function () {
$('#btnPrint').click(function () {
var doc = new jsPDF();
doc.fromHTML($('#pnlContents').html(), 15, 15, { 'width': 170 });
doc.save('sample.pdf');
return false;
});
});
Hi
Phone:
Email:
Thank you for using the System - AgriIrriGreat to design the Sprinkler irrigation system for your field.
The design of Sprinkler irrigation system is based on the data inputted by you.
Besides a suitable layout plan and its design details, AgriIrriGreat also provides a cost estimate based on the indicative prices of different components of the Sprinkler irrigation system.
Data Provided By User:
Lenght of Field (m): Width of field (m): Crop to be grown: Source of water: Location of water source: |
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsForums
Top experts
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Priyanka JainRank #356 · 7K reputationPosted Sep 18, 2019, 10:48 PM EDT
Tamal MarickRank #4,584 · 336 reputationPosted Sep 18, 2019, 10:43 PM EDT