title: Javascript: How to create pdf file from HTML form or div
body: <p>I am new to Javascript / jQuery and am looking for a way to <strong>add a button to a page that allows the user to create a pdf</strong> from a pre-defined form or div (e.g. by adding a class). </p>
  
  <p>I did some research but could not find a way to do this in JS or jQuery. </p>
  
  <p>Is there a way to realise this on client side via Javascript / jQuery or can someone tell me a freeware plugin that supports this ?</p>
  
  <p>The only plugin I found is <strong><a href="http://www.tcpdf.org/examples.php" rel="nofollow">TCPDF</a></strong> but this seems to be pretty large and I did not see a way there where I can limit this to a certain form or div on a page (instead of printing the whole page). </p>
  
  <p><strong>Note:</strong> I do not need to cover images, just plain HTML like form fields or tables and text.</p>
  
  <p>Many thanks in advance for any help with this, 
  Mike</p>