高手快来帮忙呀!!!如何在分帧的页面上打印内容??? 不行呀,打印的是下面的frame里的button 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 下面frame的button 的onclick="topFrameName.print()"就可以啊 main.htm===============<html><frameset rows="100,*"><frame name="Wintop" src="11.htm"><frame src="2.htm"></frameset></html>11.htm=================<html><body>测试</body></html>2.htm============<html><head><script>function test(){parent.Wintop.focus()parent.Wintop.print()}</script></head><body><input type=button onclick="test()" value="打印"></body></html> 多谢net_lover老兄。分就给你了。 请教高手Extjs问题 新手请教简单计数器 JAVASCRIPT如何读取百度当前的标题 javascript 问题 一简单问题____马上结贴! 问个网络方面的问题,跪求回答了,叩首中.. 如何用JavaScript改变TextBox背景色? 关于js的问题 button的onclick方法如何实现选取文件列表!在线等待.... 那儿有关于可以在*.js文件中引用的ACTIVEX对象的参考啊?? 数组排序 帮我一把!
===============<html>
<frameset rows="100,*">
<frame name="Wintop" src="11.htm">
<frame src="2.htm">
</frameset>
</html>11.htm
=================
<html>
<body>
测试
</body>
</html>2.htm
============
<html>
<head>
<script>
function test(){
parent.Wintop.focus()
parent.Wintop.print()
}
</script>
</head>
<body>
<input type=button onclick="test()" value="打印">
</body>
</html>
分就给你了。