Skip to content Skip to sidebar Skip to footer

Javascript Iframe "top." Multiple Divs?

I orginally asked this question and at the time I was grasping at straws. I created the following fiddle that is closely related to what I'm actually seeing on my internal applica

Solution 1:

top returns the window object for the outermost frame hosting your page.

In jsFiddle, that's the root jsfiddle.com page, which is in a different domain than your user code. (user submissions in jsFiddle run in http://fiddle.jshell.net)

Post a Comment for "Javascript Iframe "top." Multiple Divs?"