How do I print DIV content of HTML to printer with Javascript only? : <p>I needed to print the content of HTML div. For that I have added a button. I am trying to call a function onclick of button to print the div content using Javascript.</p>
