高手快来帮忙呀!!!如何在分帧的页面上打印内容??? 不行呀,打印的是下面的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老兄。分就给你了。 如何获取GridView1表中的各个input和textarea控件的值 js事件的问题 用js实现对textarea的隐藏和显示 如果禁用了脚本,Ajax还有效么? javascript循环过多造成浏览器假死状况,如何解决? 关于javascript自动计算占CPU的问题 把所内容替换成一个 yuna 为什么出现两个 yuna?? js获取表单数据后进行计算,并在同页面显示 很菜的问题!不好意思刚刚学JAVASCRIPT 双击表格中一行,该行字变成红色。。。。在线等候 数组排序 帮我一把!
===============<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>
分就给你了。