came across this:
Quote:
document.write('<a href="javascript:window.print()">Print this page<\/a>');
Using innerHTML instead should make it possible to move the script outside the body and should also work in XHTML.
|
but don't know what they mean about the innerHTML thing, which of course would be what I need
(i'm using XHTML strict)