blob: 1a1a3881f7210da0d4b0a5e0f2ffa80ba09972c5 [file] [log] [blame]
<html>
<head>
<script>
function testFrameElement()
{
var message = document.getElementById("message");
var element = window.frameElement;
var elementID = element.getAttribute("id");
message.appendChild(document.createTextNode("frameElement ID is \"" + elementID + "\""));
}
</script>
</head>
<body onload="testFrameElement()">
<div id="message"></div>
</body>
</html>