会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
klw_75
博客园
首页
新随笔
联系
订阅
管理
12 2021 档案
h5 判断页面点击次数
摘要:这里用的方式是 通过 touchend 来判断。 <script type="text/javascript"> document.addEventListener('touchend', touchthis, false); var a = 0; function touchthis(event)
阅读全文
posted @
2021-12-25 21:56
KLW75
阅读(196)
评论(0)
推荐(0)
javascript 修改类名
摘要:在h5页面中更改类名可以通过这么id来判断,可以这么写 document.getElementById('id名称').className = '修改的class名'
阅读全文
posted @
2021-12-25 20:28
KLW75
阅读(234)
评论(0)
推荐(0)
公告