Printing a hidden iFrame in IE

后端 未结 3 1132
时光说笑
时光说笑 2020-12-16 21:19

This solution works fine in Firefox 3.0+, but IE8/7 is just printing the entire page, not the specific iframe.

This is the function that gets called when the print l

3条回答
  •  -上瘾入骨i
    2020-12-16 21:50

    Parent Document:

    
    
        
             
        
        
            Print the iframe. 
            
        
    
    

    iframe document:

    
    
        
        
            

    Print this.

    From the below link: http://www.eggheadcafe.com/PrintSearchContent.asp?LINKID=449

提交回复
热议问题