title: jsPDF-AutoTable " doc.autoTable is not a function"
body: <p>I included the necessary links but it still gives me errors.
  <strong>error</strong></p>
  
  <pre><code>function pdfWrite() {
  var doc = new jsPDF();
  var columns = ["ID", "Name", "City"];
  var rows = [
      [
          1, "Shaw", "Tanzania"
      ],
      [
          2, "Nelson", "Kazakhstan"
      ],
      [
          3, "Garcia", "Madagascar"
      ]
  ];
  
  doc.autoTable(columns, rows)
  doc.save('table.pdf');  
  }
  </code></pre>
  
  <p><strong>working.</strong></p>
  
  <pre><code>&lt;script&gt;
  var doc = new jsPDF();
  var columns = ["Bina ID", "Bina Adı", "Özellik"];
    var rows = [
       [
      1, "Shaw", "Tanzania"
       ],
       [
        2, "Nelson", "Kazakhstan"
       ],
       [
      3, "Garcia", "Madagascar"
       ]
    ];
     doc.autoTable(columns, rows)
      doc.save('table.pdf'); 
     &lt;/script&gt;
  </code></pre>
  
  <p>does not give an error when run on the index page. error when called with function in file</p>