📅  最后修改于: 2022-03-11 15:02:27.100000             🧑  作者: Mango
var x = document.getElementsByClassName('test')
for (var i = 0; i < x.length; i++) {
x[i].classList.add("disabledbutton");
}