最顶层的是index.html 里面嵌套
<iframe name="main" id="main" src="main.html"></iframe> 这里面加载了个../js/test.js
在main.html里面又嵌套这样一个iframe
<iframe name="children" id="children" src="children.html"></iframe>这里也加载了个../js/test.js但是children.html 用不到test.js的脚本 老是defined 确认了加载地址是没有错误的  这得这么解释啊哪位高手救命啊