[thelist] Javascript Printing

Peter-Paul Koch gassinaumasis at hotmail.com
Fri Apr 13 03:14:11 CDT 2001



>   I am trying to print a textframe area.  It has Terms & Conditions in
>   it, and its just an option if the user wishes to print off a copy
>   for themselves.  At the moment the textarea is vastly smaller than
>   the amount of text in it, so it scrolls.
>
>   All I can manage to get it to print is what is actually visible.
>   Does anyone know how to make it print all that is in the textarea?

Maybe, just maybe, document.forms[0].element['name_of_textarea'].print() 
would work in some browsers, but don't count on it too much.

If that doesn't work, take the text out of the textarea or make a 
printer-friendly HTML page.

ppk

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.





More information about the thelist mailing list