-1
..some code here ...
<iframe id="iView" frameborder="0" style="position: relative; z-index: 1500; left: 387px; top: 90px; width: 185px; height: 180px;" name="iView" src="">
<html>
<head>
</head>
<body style="background-color: rgb(0, 204, 204);"> CONTENT </body>
</html>
</iframe>
..some code here ...
我能得到这个内容:如何获取iframe的backgroundcolor?也许iframe_window.document?
iframe_window.document.getElementsByTagName("body")[0].innerHTML;
有人知道如何让背景颜色? 我需要得到这个:RGB(0,204,204)
谢谢
这是不正确的? – rahul 2009-09-25 04:15:08