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