Skip to content
Advertisement

Uncaught ReferenceError: jsPDF is not defined 2

I am working with JQuery. Now, I try to attach a link between JQuery and jsPDF but I get that error : Uncaught ReferenceError: jsPDF is not defined. I’ve import all jsPDF files.

I call this function to generate my pdf :

JavaScript

And those are scripts I’ve imported in body tag :

JavaScript

Advertisement

Answer

According to the home page on https://parall.ax/products/jspdf

You should be using:

JavaScript

Note the differences in case to your ‘JSPdf’

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement