+ 1
Why it doesn't work?
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.
0
I want to delete the value of input one by one not to clear all