window.print() vs ctrl+p
Posted: Wed Nov 04, 2015 2:50 pm
I have a button on the screen that is running in an iFrame. When I click the button, the on-click code executes window.print() and the print preview screen appears with just the contents of the iframe. When I press ctrl+p, the print preview appears but it shows the entire screen (the iframe and everything around it).
How can I make my print button work like the ctrl+p?
Thanks,
Ric
How can I make my print button work like the ctrl+p?
Thanks,
Ric