frame问题 alert(window.top.frames["b"].document.getElementById("ff").innerHTML); 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 呵呵 应该是window.top.frames["b"].document.getElementById("ff").innerHTML <script> setTimeout(s,100)function s(){ if(window.top.frames["b"].document.readyState=="complete") alert(window.top.frames["b"].document.getElementById("ff").innerHTML) else setTimeout(s,100)}//window.top.frames["b"].location ="http://www.sina.com" //这是对的 </script> 2.html的代码这样才严谨些要不然当3.html加载中的时候 getElementById("ff")有可能会获取不到 怎么设置iframe的字体颜色 使用token机制防止CSRF攻击的一个疑问 jquery $.get()问题.... 请问FF里错误控制台出现的STOP是什么意思? 如何利用正则给图片添加链接呢? <input type=text>有没有OnLostFocus()事件啊? jquery的选择器问题 怎样让浏览者不能下载网页里面的图片?(在线等) 有關Jmail問題 用Javascript校验日期录入的合法性? 动态创建的元素无法设置name属性吗? 在onmousemove事件中,设置 某个Js函数无效??
window.top.frames["b"].document.getElementById("ff").innerHTML
<script>
setTimeout(s,100)
function s()
{
if(window.top.frames["b"].document.readyState=="complete")
alert(window.top.frames["b"].document.getElementById("ff").innerHTML)
else
setTimeout(s,100)
}
//window.top.frames["b"].location ="http://www.sina.com" //这是对的
</script> 2.html的代码这样才严谨些
要不然当3.html加载中的时候 getElementById("ff")有可能会获取不到