Event Onmethod JavaScript DHTML



    function function1() {
        window.print();
    }



Some body content to print


       value="Print" 
       onclick="function1()"
       onlayoutcomplete='alert("The preview layout process is finished")'>