Sunday, July 12, 2009

打印IE中iframe内容

需要将被打印的iframe先focus(),不然打印仍然是最外面的窗体内容。如:
window.frames[0].focus();
window.frames[0].print();

No comments :