15th Apr 2018, 9:03 PM
Sina
Sina - avatar
2 Respostas
0
From the code name and the actual code I'm assuming you're trying to clear the textbox? If so you simply put this line of code in the function: document.getElementById("input").value = ""; As it turns the value into an empty string. If you're trying to do something different please clarify.
15th Apr 2018, 9:08 PM
TurtleShell
TurtleShell - avatar
0
I want to delete the value of input one by one not to clear all
15th Apr 2018, 9:09 PM
Sina
Sina - avatar