deepakt84913413The values are actually of type string, so you need to parse them into integers to compare them. Example here:console.log("type = " + typeof this.value);console.log("value = " + parseInt(this.value, 10) );console.log("tel1 = " + parseInt(telephone1.value,10));if(parseInt(this.value, ...