why?????please help me~~~~~~~~~~~~``

tooogoooo tooogoooo 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
a.aspx:
<IMG id="Img1" style="Z-INDEX: 103; LEFT: 464px; WIDTH: 96px; POSITION: absolute; TOP: 40px; HEIGHT: 72px" height="72" alt="" src="" width="96">
<IMG id="Img2" style="Z-INDEX: 105; LEFT: 584px; WIDTH: 96px; POSITION: absolute; TOP: 152px; HEIGHT: 72px" height="72" alt="" src="" width="96">
<IMG id="Img3" style="Z-INDEX: 106; LEFT: 456px; WIDTH: 96px; POSITION: absolute; TOP: 248px; HEIGHT: 72px" height="72" alt="" src="" width="96">
<INPUT onclick="window.open('b.aspx','aa','width=380,height=420,left=320,top=150')" style="Z-INDEX: 100; LEFT: 376px; POSITION: absolute; TOP: 224px" type="button" value="Button">

b.aspx
<body>
<script>
alert(parent.document.all.Img1);
</script>
</body>

why.......alert(parent.document.all.Img1) is undefined?
how can i get the Img1 in b.aspx??? please help me~~
...全文
评论 9
收藏 已收藏
分享
返回顶部
tooogoooo
JavaScript 87,983 成员 224,681 内容