This is my HTML code:
<p>don't print this to pdf</p>
<p><font size="3" color="red">print this to pdf</font></p>
I want to print to pdf whatever is found in the div with an id of "pdf". The "pdf" document should then be automatically downloaded with a filename of "foobar.pdf" and I want to submit HTML to jspdf, not text.
Any help would be appreciated.