[Javascript] opener object
Peter-Paul Koch
gassinaumasis at hotmail.com
Mon Jul 2 17:48:07 CDT 2001
>function goPage(src) ( in the popup code script tag)
>{
> opener.focus();
> opener.location.href = src;
> top.window.close();
>}
>
>onclick="javascript:return goPage('new_wd.htm')" is the code in popup that
>calls the function.
>
>I'm getting an error " opener is not an object"
Any frames in the popup? If so, do top.opener.etc . The individual frame
doesn't have an opener, because only the top frame was opened from another
page.
ppk
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
More information about the Javascript
mailing list