摘要: getElementByClassName()方法getElementByClassName()方法接收一个参数,即一个包含一或多个类名的字符串,返回带有指定类的所有元素的NodeList focus() document.activeElement属性,这个属性会引用dom中当前获得了焦点的元素。 阅读全文
posted @ 2018-04-10 06:51 wzndkj 阅读(181) 评论(0) 推荐(0) 编辑