1
Reply

How can you check whether a variable is null/undefined using Javascript?

Atul Jain

Atul Jain

Aug 13, 2012
1.7k
0

    You can use this following code,if(typeof(foo) !== 'undefined' && foo != null) {//you can use foo!}
    Joomla Web Design

    eswari
    December 17, 2012
    0