I have a web page which contains a JavaScript variable called "myVariable".
Within this web page is an iframe which points to a second web page.
Both pages are within the same domain.
The page within the iframe needs to access "myVariable" which is defined in the parent web page.
I have successfully accessed this variable with Firefox using the following code:
document.defaultView.parent.myVariable
However, this does not work in Internet Explorer.....
How do I do this in Internet Explorer?