Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

window.print() specific div

<div id="printableArea">
      <h1>Print me</h1>
</div>

<input type="button" onclick="printDiv('printableArea')" value="print a div!" />
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #specific #div
ADD COMMENT
Topic
Name
8+1 =