Source Code
<html> <head> <SCRIPT LANGUAGE="JavaScript"> function pagePrint() { if(window.print) { window.print(); } } </script </head> <body> he best and most beautiful things in the world can not be seen or even touched, they must be felt with heart.<br> <input type="button" value="printer" onclick="pagePrint()"> </body> </html>
執行畫面
按下printer
參考資料:
沒有留言:
張貼留言