front-end rookie.
made a todo demo
storage native, without any frame.
after clicking on add, the content in the input box will be inserted into the page, I want to empty it, each time the input is new content, not the last residual. Don"t know how to solve
document.getElementById (Id"). Value = "" of the "input button), the value of the input box is cleared. But there are still residual values on the page. Clear the values displayed on the page now.
[picture]
that is, after I click add, the input box will be cleared until I re-enter it next time. I hope the great gods will answer.