2017年3月30日
摘要: 恢复内容开始 一。点击变色并提示索引 1 <!DOCTYPE html> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; char 阅读全文
posted @ 2017-03-30 22:33 张鑫4477 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 一。查找元素对象 1. html中查找元素对象:(1)class (2)id (3)标签 document找到元素对象 (1)id: document.getElementById("元素id");【根据id只能找到一个元素对象(html的id不会重复)】【作用客户端】 (2)class: docu 阅读全文
posted @ 2017-03-30 19:43 张鑫4477 阅读(198) 评论(0) 推荐(0) 编辑