fix If value is infinity, empty and NaN in jQuery
if (theResult == Infinity || theResult == "" || theResult == NaN) {
theResult == 0;
}
$("#theResult").val(theResult);
We provide knowledgeable blogs related to php, jQuery, html, css, wordpress, woocommerce, cordova app with examples in 2021.
fix If value is infinity, empty and NaN in jQuery
if (theResult == Infinity || theResult == "" || theResult == NaN) {
theResult == 0;
}
$("#theResult").val(theResult);
Comments
Post a Comment