Answer the question
In order to leave comments, you need to log in
How to send a block for printing?
You need to print a certain block, the block is filled with JS.
There is an option to create a frame, fill it and print it, but this option is not suitable.
I need something different and more correct, because my work will be evaluated (this is not the whole work, but a small part of it)
Tell me how to implement this correctly?
Answer the question
In order to leave comments, you need to log in
The first option that came to mind: For everything except this block, set
@media print {
elements {
display: none;
}
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question