+ 1

How can I add a Backspace button in this code?

https://code.sololearn.com/WYl1qOdrsVAE/?ref=app

13th Jun 2018, 11:54 AM
B.D
B.D - avatar
2 Antworten
+ 2
<input class="bt" type="button" name="backspace" value=" &lt;- " onclick="Calc.Input.value = Calc.Input.value.slice(0,Calc.Input.value.length-1)">
13th Jun 2018, 12:12 PM
ReimarPB
ReimarPB - avatar
+ 1
thank you
13th Jun 2018, 12:15 PM
B.D
B.D - avatar