線上列印
將下列程式碼複製至<head>程式碼</head>區內。
<script language="Javascript1.2"> <!-- var message = "列印此頁"; function printpage() { window.print(); } document.write("<center><form><input type=button " +"value=\""+message+"\" onClick=\"printpage()\"></form></center>"); //--> </script> |