📅  最后修改于: 2022-03-11 15:03:06.782000             🧑  作者: Mango
// You can't
// You can only have 1 instance of an id per document
// You need to use classes instead
var x = document.getElementsByClassName("example");