会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
丶蘇Da同
博客园
首页
新随笔
联系
管理
订阅
2017年3月31日
【2017-03-30】JS document对象
摘要: 一、获取标记对象 1. html中查找标记对象:class ,id ,标签 document获取标记对象 (1)id: document.getElementById("元素id"); 根据id只能找到一个元素对象(html的id不会重复) (2)class: document.getElement
阅读全文
posted @ 2017-03-31 07:53 丶蘇Da同
阅读(140)
评论(0)
推荐(0)
编辑