+1  A: 

The embedded iframe is pointing to a URL on a different domain correct? In this case no, you cannot for security reasons make any calls to the parent document from within the iframe.

Spencer Ruport
No, it's on the same domain :)
Stanislav Palatnik
hmmm. I'm not really sure then! Sorry.
Spencer Ruport
+1  A: 

You can't modify an element that "belongs" to the parent page from within that popup page. As far as I know you will have to issue your hide code from the parent. You could always have your code inside the dialog do something like this:

parent.$("#dialog").hide();

I think that's what you're asking...

Alex
I was asking how I can access the parent frame from inside an iframe with JQuery to oversimplify the question
Stanislav Palatnik
My example will do that. Then you can manipulate whatever you need from there.
Alex