Window.print doesn't work in IE

后端 未结 4 2152
遥遥无期
遥遥无期 2020-12-19 06:21

I have to print out a div which I\'m doing in the following way:

function PrintElem(elem)
    {
        Popup(elem.html());
    }

    function          


        
4条回答
  •  遥遥无期
    2020-12-19 07:13

    In my case this issue was resolved by doing a focus before the print.

    window.focus(); window.print();

提交回复
热议问题