views:

28

answers:

2

I am having a problem getting to the parent window. I have a window that has 2 frames...one of the frame opens another window which in returns open a third window. In the third window I want to refresh the very first window by doing this

window.opener.window.opener.close();

it only works for non frame setup...what can I use for the frame. I am open to using jquery too

+1  A: 

I think this is what you want: http://stackoverflow.com/questions/539504/run-jquery-in-the-context-of-another-frame

Calle
+1  A: 

Calle's answer looks like a good suggestion. In my experiments IE and Firefox would let me go 2 back to the parent iframe to access functions, but Chrome gave me a security violation.

Jack B Nimble