📜  javascript 文档对象模型 getElementsByClassName - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:19.237000             🧑  作者: Mango

代码示例4
var elementsArray = document.getElementsByClassName("student.age");
var elementsArray = document.getElementsByClassName("student");
var elementsArray = document.getElementsByClassName("age");