`

浏览器支持打印-即web打印

    博客分类:
  • js
 
阅读更多
document.getElementById('printIframe').contentWindow.document.body.innerHTML = "<html><body><img src='" + this.img_object._img[0].src + "'></img></body></html>";
                document.getElementById('printIframe').contentWindow.focus();
                document.getElementById('printIframe').contentWindow.print();
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics