标签: javascript function this
我在常规函数中调用此函数。为什么这是指#button而不是window?
window.onload = function() { var button = document.getElementById("button"); button.onclick = test; } function test() { this.innerHTML = "LLLOL" }