[thelist] Javascript Printing

Alf Dobbert alf at ungebremst.de
Fri Apr 13 03:24:41 CDT 2001


hi.


maybe, maybe you have to put a focus on it too.
document.forms[0].element['name_of_textarea'].focus()

At 10:14 13.04.01, you wrote:



>>   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.
>
>
>---------------------------------------
>For unsubscribe and other options, including
>the Tip Harvester and archive of TheList go to:
>http://lists.evolt.org Workers of the Web, evolt !





More information about the thelist mailing list