The iframe is something like this:
<iframe frameborder="0" src="http://www.another-domain.com/whatever.php">
<html>
<head>....</head>
<body>
....
....
<div div="mydiv">.....</div>
</body>
</html>
</iframe>
I want to access #mydiv from the parent window. The iframe contents are from another domain.