Answer the question
In order to leave comments, you need to log in
How to print HTML code from a variable?
I receive a response from the server, write it to a variable. What is the best way to print data from it?
Opening a new window and loading data there is not convenient.
Answer the question
In order to leave comments, you need to log in
Write data to a div, hide it by default, but in CSS @media print
, on the contrary, hide everything else and show it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question