JavaScript打印iframe内容示例代码

复制代码 代码如下:

  var frame = window.frame[0];

  frame[0].focus();

  frame[0].printf();