打印iframe内容

function doPrint() {
if (window.frames['winConBillIframe'] != null) {
document.getElementById('winConBillIframe').focus();
document.getElementById('winConBillIframe').contentWindow.print();
}
else {
window.frames['winConBillIframe'].focus();
print();
}
}
posted @   superChicken  阅读(2278)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示