JavaScript中原生事件 DOM0事件模型: 所有瀏覽器都支持,只能注冊一種事件 1.綁定: document.getElementById("id").onclick = function(e){}; ...