Posted on 2012-03-21
Hello, I have a page called attach.asp for lack of a better name. Tabs.asp is part of attach.asp. Attach.asp shows up in the browser URL but tabs.asp does not. A popup child window is opened from tabs.asp called, popupwin.asp for lack of better name as well. A function that lives on attach.asp needs to be called from popupwin.asp, but, since the parent opener for popupwin.asp is tabs.asp, I can't call the function on the parent of the parent.
So, I've tried window.opener.functionname() and I get a null object reference.
I've tried parent.window.opener, parent.location.window.opener, and nothing seems to work.
What's bizaar is this tabs.asp window doesn't reside in an iFrame, but is referenced somehow in another way, which I'm still trying to explore.
So does anyone have any thoughts on how to call a function from a child that resides on the parent of an object that's not really there?