[Javascript] Testing for "undefined" (undefined vs. null)
Craig Michael Nathan
cnathan at MEconomy.com
Wed Jun 6 23:01:39 CDT 2001
I have a wacky problem in that using
top.frames
sometimes returns "undefined".
I'm curious how I can test for "undefined".
I tried:
if (top.frames == null) return;
But have since learned that null != undefined
Any ideas?
Much appreciated,
-Craig
*****************************
Craig Michael Nathan
Chief Technology Officer
MEconomy, Inc.
cnathan at MEconomy.com
PGP [4096]:
7312 ec39 3e1b 9a48 8cc5
bd9b 8645 4af4 9c23 0b73
More information about the Javascript
mailing list