XmlGrid Users Forum
2012-05-20 17:55:44
An undefined variable will usually cause unwanted exception in javascript if you try to reference it. You can detect a possible undefined variable in this way:

__code__
if (typeof(yourVairable) === 'undefined')
{
//doing something
...

}
__code__

;3415;2012-05-20 17:55:44__s__
An undefined variable will usually cause unwanted exception in javascript if you try to reference it. You can detect a possible undefined variable in this way:

__code__
if (typeof(yourVairable) === 'undefined')
{
//doing something
...

}
__code__

__s__~u=Zac~site=NULL__s__How to check if a variable is undefined in javascript__s____m__

Best view with Google Chrome