为什么把onclick事件变成addEventListener的点击事件就不行呢
next.addEventListener("click", function() {
list.style.left = parseInt(list.style.left - 1226) + "px";
});
next.addEventListener("click", function() {
list.style.left = parseInt(list.style.left - 1226) + "px";
});
2016-06-15
举报