事件名稱 onclick 與HTML元素 button' 綁定,當 button 被點擊時,則會執行 function(){time.innerHTML = Date()} 程式碼。 顯示結果:
確定! 回上一頁