Ok, I am using an iframe on a page. The content within the iframe I have no control over and is being utilized with an Adobe Flash program.
But once the form is sum
Chris Coyier at css-tricks.com has a nice succinct explanation of how to do this.
One way is a little clearer to the observer (as much as production Javascript code can ever said to be "clear"):
(function(window) {
if (window.location !== window.top.location) {
window.top.location = window.location;
}
})(this);
The other is much shorter, but also trickier and less obvious:
this.top.location !== this.location && (this.top.location = this.location);
Again, credit where credit is due: I didn't write these snippets, I'm just passing them along because they answer the question.