![]() |
|
|
+ Search |
![]()
|
Apr 5th, 2008 20:42
ha mo, Colin Fraser, Vijai Julian,
You cannot.. simply put, document.write() relates to placing text onto
the screen it has nothing to do with printing the document.
Ctrl-P will activate the print dialogue.
In JavaScript, the print() function works in NN 4+, 6+ and Internet
Explorer 5+, well it is supposed to, try
if (window.print)
window.print();
If the browser does not support the print() function it wont
work..simple..
http://www.businessian.com
http://www.computerstan.com
http://www.financestan.com
http://www.healthstan.com
http://www.internetstan.com
http://www.moneyenews.com
http://www.technologystan.com
http://www.zobab.com
http://www.healthinhealth.com