📅  最后修改于: 2022-03-11 15:04:26.060000             🧑  作者: Mango
var myElements = document.getElementsByClassName("some_class_name");
for(var i = 0; i < myElements.length; i++){
console.log(myElements[i]);
}