大家好:
      小弟现在遇到一个问题,关于frame的。
    其中的主页面包含两个frame ,<frame id="head"src="head.jsp"/>,<frame id="contents" src=""/>,其中contents的src的值是根据head.jsp中的值动态生成的,现在需要在head.jsp中添加一个打印按钮,打印contents中的内容,应该如何去做?
  小弟试过 parent.contents.focus();
           parent.contents.print();
但是老是提示页面出错,应该如何处理?谢谢。