title: Export the hidden div as PDF using jsPDF
body: <p>I am trying to create a PDF from html div content. The PDF generation is working fine expect from hidden div items.</p>
  
  <p>Here is my hidden div </p>
  
  <pre><code>&lt;div id="listview" style="display: none;"&gt;test&lt;/div&gt;
  </code></pre>
  
  <p>And my PDF render scripts</p>
  
  <pre><code>var pdf = new jsPDF('p', 'pt', 'letter');
          var options = {
              background: '#fff'  
          };
          pdf.addHTML($('#listview')[0], options, function () {
                  pdf.save('searchresult.pdf');
          });
  </code></pre>
  
  <p>The content on #listview will be appended dynamically. The PDF render throws below error</p>
  
  <pre><code>html2pdf.js:115 Uncaught Missing source element or string.
  </code></pre>
  
  <p>Thanks in advannce for the support</p>