Its possible to print div using window.print() on the screen but background screen not chnages? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Its possible to print div using window.print() on the screen but background screen not chnages?

Normally when i use window. Print(), its print specific div using js but when i click to print button the div is show on background screen and hide all other code

4th Oct 2020, 9:00 PM
MUHAMMAD ASIF
MUHAMMAD ASIF - avatar
1 Answer
0
Yes u can do it . Go through it. https://meet.google.com/nao-ysui-hyv?hs=151 This happen because what we set is css for screen , not print
5th Oct 2020, 6:21 AM
Divya Mohan
Divya Mohan - avatar