For JavaScript:
If you want to test whether a String object is NULL , then the following may FAIL
if(someString == "")
if(someString == "null")
The CORRECT way to test would be:
if(someString == null)
---------------------------------------------------------
Resources:
http://lists.evolt.org/archive/Week-of-Mon-20050214/169524.html
Tuesday, December 4, 2007
Subscribe to:
Post Comments (Atom)


0 comments:
Post a Comment