how are you using it?
this is incorrect
if (myObject != undefined){
//do something
}
try this instead
if (myObject){
//do something
}
Programming today is a race between software engineers striving to build better and bigger idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rich Cook