RE: Javascript IsDefined

2001-03-13 Thread Patricia Lee
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:

RE: Javascript IsDefined

2001-03-13 Thread Caulfield, Michael
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

RE: Javascript IsDefined

2001-03-13 Thread Patricia Lee
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

RE: Javascript IsDefined

2001-03-13 Thread Douglas Knudsen
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

RE: Javascript IsDefined

2001-03-13 Thread Michael Rosario
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

RE: Javascript IsDefined

2001-03-13 Thread Hayes, David
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