Learn free online HTML5, javascript, and jquery Tutorials by Examples

Sunday, 9 June 2019

Auto print using Javascript

<script type="text/javascript">// <![CDATA[
     document.body.onload=function(){
           document.body.offsetHeight;window.print()
     };
// ]]></script>

No comments:

Post a Comment