会员
众包
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
2022年4月11日
querySelector和getElementById之间的区别
摘要: querySelector选出来的元素及元素数组是静态的,而getElementById这种方法选出的元素是动态的 <ul> <li>1</li> <li>2</li> <li>3</li> </ul> let ul = document.querySelector("ul") let list_q
阅读全文
posted @ 2022-04-11 11:10 文仲玉
阅读(31)
评论(0)
推荐(0)
编辑
路漫漫其修远兮,吾将上下而求索
公告
导航
博客园
首页
新随笔
联系
订阅
管理