会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
.Nice
博客园
首页
新随笔
联系
订阅
管理
2021年11月1日
JS中设置或获取自定义方法setAttribute getAttribute attributes
摘要: 用JS 实现切换 1 window.onload=function(){ 2 // 获取所有的A标签 3 var btns=document.querySelectorAll(".box .title a"); 4 var forms=document.querySelectorAll(".box
阅读全文
posted @ 2021-11-01 19:55 .Nice
阅读(635)
评论(0)
推荐(0)
公告