I have to print out a div which I\'m doing in the following way:
div
function PrintElem(elem) { Popup(elem.html()); } function
In my case this issue was resolved by doing a focus before the print.
window.focus(); window.print();