如何在iframe中的 document 空间获得,该iframe的属性,内详!
parent.htm
-----------------------------------
<html>
<body>
<table>
<tr><td>
<iframe frameborder=1 src='child.htm'></iframe>
</td></tr>
<tr><td>
<iframe frameborder=2 src='child.htm'></iframe>
</td></tr>
</table>
</body>
<html>
------------------------------------------------------------------------
child.htm
<html>
<script>
function onLoadPage(){
var iFrameBorder = ?????;
var alert(iFrameBorder);
}
</script>
<body onload='onLoadPage()'>
</body>
</html>
我在child.htm中如何获的容纳该document的iframe属性,比如frameborder?