[thelist] Problem controlling parent window from child (Javascript)

Sarah Adams mr.sanders at geekjock.ca
Tue Mar 6 10:18:05 CST 2007


> using Javascript but the window.opener object seems to disappear from
> child after the first page.
>
> 2 questions, I guess:
> 1. Is this expected behaviour?
> 2. If so, is there a way around it?

I've done something similar to this before and didn't have any problems
with the window.opener getting lost, even after the page in the popup
changed. That said, when manipulating an opener from a popup, you can't
manipulate the opener directly, you have to call functions that exist in
the opener - perhaps this is the real cause of your problems. Do you
have a test page we can check out?

-- 
sarah adams
web developer & programmer
portfolio: http://sarah.designshift.com
blog: http://hardedge.ca



More information about the thelist mailing list