[thelist] check existence of a javascript function
Chris Blessing
webguy at mail.rit.edu
Thu Jan 24 10:10:12 CST 2002
Emily-
Please provide the code for the function you are trying to check the
existence of. Thanks!
Chris Blessing
webguy at mail.rit.edu
http://www.330i.net
> -----Original Message-----
> From: thelist-admin at lists.evolt.org
> [mailto:thelist-admin at lists.evolt.org]On Behalf Of Emily E Liang
> Sent: Thursday, January 24, 2002 11:10 AM
> To: thelist; Emily E Liang
> Subject: [thelist] check existence of a javascript function
>
>
> Hi,
>
> I'm trying to figure out how to check the existence of a javascript
> function in the opener window. I tried all of the following and none
> seemed to work. All returned a javascript error of "opener.getAppId()
> is not a function" error when the junction does not exist. Any help is
> greatly appreciated!!!
>
> 1) if (opener.getAppId() == undefined) {
> //do something else
> } else {
> appId = opener.getAppId();
> }
>
>
> 2) if (!opener.getAppId) {
> //do something else
> } else {
> appId = opener.getAppId();
> }
>
> 3) if (opener.getAppId() == null) {
> //do something else
> } else {
> appId = opener.getAppId();
> }
>
> Thanks,
>
> Emily
>
>
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !
More information about the thelist
mailing list