<script language=""JavaScript"">
function getalert() {
alert("超级英雄");
}
</script>
<iframe id="frameCheckForm" name="frameCheckForm" src="sn2.htm" width="0" height="0" frameborder="0" scrolling="no"></iframe>在 sn2.htm 里面有
<script language=""JavaScript"">
getalert() ;
</script>
运行时 提示 找不到对象 ,怎样能实现框架内调用 窗口内的函数?
function getalert() {
alert("超级英雄");
}
</script>
<iframe id="frameCheckForm" name="frameCheckForm" src="sn2.htm" width="0" height="0" frameborder="0" scrolling="no"></iframe>在 sn2.htm 里面有
<script language=""JavaScript"">
getalert() ;
</script>
运行时 提示 找不到对象 ,怎样能实现框架内调用 窗口内的函数?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货