会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
丰天雪地
博客园
首页
新随笔
联系
管理
订阅
2015年7月23日
js获取指定标签
摘要: 测试$('one').click.function(){ window.location.href="123.html";}
阅读全文
posted @ 2015-07-23 09:18 shawli
阅读(498)
评论(0)
推荐(0)
编辑
把html标签里的内容,添加到js数组中
摘要: 1 2 3 4 5 6 7 8 9 10需要得到一个数组 new Array=(1,2,3,4,5,6,7,8,9,10)var arr = document.getElementsByTagName('li'),temp = [];fo...
阅读全文
posted @ 2015-07-23 09:01 shawli
阅读(2061)
评论(0)
推荐(0)
编辑
公告