kneidels
asked on
IsNull equivalent in ASP/jScript
hey folks
i usually code in VBscript and use IsNull - i understand the function does not exist in Jscript. what can be used instead?
(i am checking a database value - but its a general question too)
thanks!
i usually code in VBscript and use IsNull - i understand the function does not exist in Jscript. what can be used instead?
(i am checking a database value - but its a general question too)
thanks!
ASKER
thanks
wasnt sure exactly what you meant
i landed up using the length which seemed to help.
should that give the same indication?
wasnt sure exactly what you meant
i landed up using the length which seemed to help.
should that give the same indication?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
great - thanks!
Also you can use a statement like (object == null) if you are not used to evaluate directly an object