document.frames()与document.frames[]的区别

html>
<body>
<iframe id="ifr_1" name="ifr_1">
</iframe>
</body>
</html>

其中:
document.frames(“ifr_1”)能够获得一个window对象


document.frames[“ifr_1”]能够获得一个Html Element DOM对象html

相关文章
相关标签/搜索