<script>
window.onload = function () {
var aBtn = document.getElementsByTagName('input');
for(var i=0; i<aBtn.length; i++){
aBtn[i].onclick = function () {
aBtn[i].style.background = 'red';
};
}
};
</script>
这句话中 aBtn[i].style.background = 'red'; 为啥不能用oBtn[i] 替代 this
qq_青枣工作室_0
Chiong
zeusGOGOGO
淡雅的默