Function Exists -- Parent Window

Giganews Newsgroups
Subject: Function Exists -- Parent Window
Posted by:  crazy_nelly (y…@wish.com)
Date: Wed, 3 Sep 2003

To validate that a function exists on the page, one must simply use the
syntax:
if ( window.funcName ) //...

However, the same syntax does not seem to work when attempting to validate
that a function exists on a parent window of a popup.

if  ( window.opener.funcName ) //...

Is there a syntax that works for this?  I've tried everything I can think
of.  TIA~ PJ

Replies