请问:如何向iframe里写html? document.frames("father").document.getElementById("son").innerHTML=father.innerHTML;============没有测试。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <html><head><title></title></head><body><div id="father"><font size="12">Testing</font></div><button onclick="window.frames[0].document.getElementById('son').innerHTML=window.document.getElementById('father').innerHTML">Test</button><iframe src="about:<div id='son'>sss</div>"></iframe></body></html> window.iframes["a"].document.getElementById("son")a为iframe的id 关于document.write("")方法在IE浏览器和火狐浏览器下面的兼容性问题 图片的滚动问题,不是连续滚动,点击滚动一张 js遇到的问题,请高手们帮帮忙啊! 关于js的类的问题 如何在json中使用对象? 以屏幕一点为中心,自动缩小的圆或矩形 自写的一个popup软键盘程序,界面比较难看,会美工的帮美化一下,不会的帮测试一下,谢谢 emu大哥请进. 求教:这个b/s系统里面的网格是怎么实现的?请进来看看! javascript如何判断复选框是否全部被选中 怎样让这段js代码在firefox下也能正常显示!?? 这个函数有什么作用啊
<head>
<title></title>
</head>
<body>
<div id="father">
<font size="12">Testing</font>
</div>
<button onclick="window.frames[0].document.getElementById('son').innerHTML=window.document.getElementById('father').innerHTML">Test</button>
<iframe src="about:<div id='son'>sss</div>"></iframe>
</body>
</html>
a为iframe的id