Skip to content
Advertisement

getting error Uncaught ReferenceError: jsPDF is not defined

Hi i followed following link but still getting error Uncaught ReferenceError: jsPDF is not defined How to properly use jsPDF library I have copied all data and run on my xampp but still getting same error in console. Could anyone please help me to solve this issue.

enter image description here

Advertisement

Answer

1.Download jspdf.min.js file and add that in your program, and locate that path as below,

 <script src="this file path/jspdf.min.js">
 </script> <script src="this file path/jspdf.plugin.autotable.js"></script> (<---If needed)
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement