How to check the value is null and zero in java script
var result;
if(result!==null)
I had tried please specify to check whether the value is zero
How to check the value is null and zero in java script
var result;
if(result!==null)
I had tried please specify to check whether the value is zero
You can use something like
if((x >= 0) && (typeof(result) == "number"))
Seems to have been answered here ::: Check for NaN, null and >=0 in one condition