Skip to content Skip to sidebar Skip to footer

Javascript Problems With NaN

I'm a beginner in js and someone helped me to make a js code to calculate columns when you modify quantity and calculate the total of columns. This code work fine but not for 2 thi

Solution 1:

replace your statement if (value === NaN) { ... } with if (isNaN(value)) { ... }


Post a Comment for "Javascript Problems With NaN"