Printing contents of a div

Posted by Hulk on Stack Overflow See other posts from Stack Overflow or by Hulk
Published on 2010-04-03T19:40:10Z Indexed on 2010/04/03 19:43 UTC
Read the original article Hit count: 322

The contents of the following div re derived dynamically.

i.e, A table is added dynamically to this div with some button .My question is how to print the content of this div(window.print) and not other things in the page

             <div id="newdiv" name="newdiv"></div>

Thanks..............

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about javascript-events