浅谈javascript中的DOM方法 1:获取对象的三种方法 1)document getElementById(id);通过对象的属性id来获取; 2)element getElementBy JavaScript 2022-04-08 177 点赞 2 评论 268 浏览