JS 获取class 元素集合function getByClass(oParent, sClass) { 根据class获取元素var oReasult = []var oEle = oParent.getElementsByTagName("*&quo2023-04-19JavaScript220