Printing JavaScript Output
Question: How do I print JavaScript output?
Answer:
JavaScript programs cannot directly access printers.
However, the users still can print out everything on the Web page,
including the output of JavaScript programs,
by using the If your script outputs data that users would often print out, then you can
Example.
This script generates the multiplication table,
writes it to a new browser window
See also other JavaScript dialogs: |
Copyright © 1999-2011, JavaScripter.net.