-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