Answer #2: ... You need to attach a click event handler and clear the contents of the textarea from that handler. ... var input = document.querySelector('#clear'); ...
確定! 回上一頁