Reputation: 2337
I got a page like this:
=========================================
| PARENT! |
| |
| |
| =============== |
| | iframe | |
| =============== |
| |
| |
| |
| |
| |
| |
|========================================
is there any jQuery possible to select something in the parent window?
The pages are in different domains.
Upvotes: 0
Views: 157
Reputation: 7035
Yes, as long as the iframe is in the same domain as the parent the following works:
$('#idInParent', window.parent.document);
Updated: to make clear the fact that this requires same domain
Upvotes: 2