show a div in print and conditionally avoid adding to DOM using JavaScript

前端 未结 0 554
后悔当初
后悔当初 2021-01-18 13:01

Is it possible to not add this div to DOM at all maybe with the help of JS. And add to DOM only when user tries to print it.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题