Interviews1 answer
How can you check whether a variable is null/undefined using Javascript?
1 Answer
You can use this following code,
if(typeof(foo) !== 'undefined' && foo != null) {
//you can use foo!}
Joomla Web Design
eswariPosted Dec 16, 2012, 9:30 PM EST