user105033
user105033

Reputation: 19568

javascript parent question

If I have a page with an iframe on it, then there is another iframe in that iframe, do I have to use parent.parent to reach the top frame or is there a shortcut to the page "root" that would be equivalent to parent.parent; or parent.parent.parent for that matter.. you get the point.

Upvotes: 0

Views: 205

Answers (1)

Chetan S
Chetan S

Reputation: 23803

There is.

window.top

Upvotes: 3

Related Questions