会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Back to Reff.
What hurts more,The pain of hard work or the pain of regret?
首页
新随笔
联系
管理
2016年9月24日
闭包的使用 — 点击列表项输出项目索引
摘要: 序号1 序号2 序号3 序号4 序号5 序号6 序号7 序号8 序号9 序号10 var list = document.getElementsByTagName('li'); var listLen = list.length; // 错误写法 for(var i=0;i<listLen;i++) ...
阅读全文
posted @ 2016-09-24 13:14 Raychan
阅读(1093)
评论(0)
推荐(0)
编辑