btn:[‘打印‘],yes:function (index, layero) { var body = layer.getChildFrame(‘body‘, index); var iframeWin = window[layero.find(‘iframe‘)[0][‘name‘]]; iframeWin.print();}
layer.js打印iframe方法
原文:http://www.cnblogs.com/o0oo/p/6274176.html