o: CF-Talk
|Subject: RE: Javascript IsDefined
|
|
|Actually typeof is an operator, not a function, so it is
|generally used the
|way Dave described.
|
|-Original Message-
|From: Patricia Lee [mailto:[EMAIL PROTECTED]]
|Sent: Tuesday, March 13, 2001 11:51 AM
|To: CF-Talk
|Subject: RE:
Actually typeof is an operator, not a function, so it is generally used the
way Dave described.
-Original Message-
From: Patricia Lee [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 11:51 AM
To: CF-Talk
Subject: RE: Javascript IsDefined
The correct syntax is
if (typeof
The correct syntax is
if (typeof(myvarname) == "undefined") {
[do your stuff]
}
|-Original Message-
|From: Hayes, David [mailto:[EMAIL PROTECTED]]
|Sent: Tuesday, March 13, 2001 10:32 AM
|To: CF-Talk
|Subject: RE: Javascript IsDefined
|
|
|You can use the "typeof&q
uxmall.com
From: [EMAIL PROTECTED] AT INTERNET on 03/13/2001 10:32 AM
To: [EMAIL PROTECTED] AT INTERNET@CCMAIL
cc:(bcc: Douglas Knudsen/ATL/ALLTELCORP)
Subject: RE: Javascript IsDefined
JS doesn't inherently have isDefined... The functions that follow
should
help you though
JS doesn't inherently have isDefined... The functions that follow should
help you though
Michael Rosario
Internet Applications Dev
[EMAIL PROTECTED]
**
// DESCRIPTION:Returns the value named
You can use the "typeof" operator.
if (typeof myVarName == "undefined"){
}
-Original Message-
From: Jeanne Sarfaty Glazer [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 9:27 AM
To: CF-Talk
Subject: Javascript IsDefined
Hi Folks,
What is the Javascript equivalent to the Cold
6 matches
Mail list logo