21 March 2020

How to fix If value is infinity, empty and NaN in jQuery?

 fix If value is infinity, empty and NaN in jQuery

if (theResult == Infinity || theResult == "" || theResult == NaN) {
    theResult == 0;
}
$("#theResult").val(theResult);

No comments:

Post a Comment

How to run google search console request submission by UI vision IDE automate?

 Run google search console request submission by UI vision IDE automate? Source View --- Json Code {   "Name": "DemoCsvReadAr...