Answer the question
In order to leave comments, you need to log in
How to print textarea tags?
On the site, the user can enter data into the teaxtarea and press the "print" button. onclick="print();"
There is one problem with printing, the blocks become smaller in width, and the text does not fit completely in height.
Answer the question
In order to leave comments, you need to log in
Do not print the fields as is, but make a hidden div and pass the text into it - and when printing, the form fields are invisible, and make the div visible - using CSS (see - media Print and media Screen)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question