From 4736e8bd174bcb0b5de9349025644b9123ce3c34 Mon Sep 17 00:00:00 2001 From: rhalp10 Date: Sat, 30 Sep 2017 23:34:05 +0800 Subject: [PATCH] removing T from addText Script --- index.html | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/index.html b/index.html index 831f142..2658830 100644 --- a/index.html +++ b/index.html @@ -49,7 +49,7 @@

Simple Calculator


- 7 + 7 8 9 / @@ -121,26 +121,26 @@

Simple Calculator

alert(e.message); } } - // var a = parseInt("10"); - // var b = parseInt("10"); - // var c = a+b; + // var a = parseInt("10"); + // var b = parseInt("10"); + // var c = a+b; - // var str = document.getElementById("input_text").value; - // var res = str.split(""); - // document.getElementById("input_text").value = res;//display the splited value + // var str = document.getElementById("input_text").value; + // var res = str.split(""); + // document.getElementById("input_text").value = res;//display the splited value - // var temp = new Array(); - // var temp = str.split(""); - // for (a in temp ) { - // if (isNaN(temp[a])) - // { - // console.log (temp[a] = temp[a]); - // } - // else - // { - // console.log (temp[a] = parseInt(temp[a], 10)); - // } - // } + // var temp = new Array(); + // var temp = str.split(""); + // for (a in temp ) { + // if (isNaN(temp[a])) + // { + // console.log (temp[a] = temp[a]); + // } + // else + // { + // console.log (temp[a] = parseInt(temp[a], 10)); + // } + // } } //NUMBER ONLY function allowedChar(elem) {