google chrome print preview does not load the page the first time

前端 未结 4 1269
刺人心
刺人心 2021-01-12 17:51

I\'m trying to print a page using this code



    

        
4条回答
  •  离开以前
    2021-01-12 18:20

    I moved the window.print() command on the pop up window it self so it can load the jquery function first before printing.

    This is the line that I added.

    mywindow.document.write('
    
    
    
    
    
    

提交回复
热议问题