欢迎来到天天文库
浏览记录
ID:3935576
大小:137.38 KB
页数:6页
时间:2017-11-25
《阶段性总结_javascript第七讲》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、qilei@tarena.com.cn2-1WebWebWeb基础Web基础模块::JavaScript:JavaScript第六讲讲讲DOMDOMDOM应用DOM应用1.课程目标......................................................................................................1-12.课程安排........................................................................
2、..............................2-12.1.遍历DOM节点.......................................................................................2-12.2.创建和修改DOM节点...........................................................................2-32.3.动态构建表格.....................................
3、..................................................2-53.课程总结,.....................................................................................................3-63.1.重点和难点分析...................................................................................3-63.2.常见问题(FAQ
4、).................................................................................3-64.课后习题......................................................................................................4-64.1.课后习题.....................................................................
5、..........................4-61.课程目标•DOMAPIDOM⁚ 2.课程安排2.1.遍历DOMDOM节点DOM节点ᔊbody⁚ Ḅᡠᨵ⁚ ᦋḄ᪵varc=document.body.childNodes;for(vari=0;i6、deName);c[i].style.border="1pxsolidred";}}ᔊᡠᨵḄdiv⁚ varoDivs=document.getElementsByTagName(“div”);varoDiv1=null;for(vari=0;iᔊᡠᨵḄli᪗$ᯠ&ᦋᐸᐘ)⁚ ᪵7、vardt=document.getElementsByTagName("li");for(vari=0;iᦋ*+⁚ Ḅ᪵,vardt=documen8、t.getElementById("Id");varcur=dt.previousSibling;while(cur!=null){cur.style.display='none
6、deName);c[i].style.border="1pxsolidred";}}ᔊᡠᨵḄdiv⁚ varoDivs=document.getElementsByTagName(“div”);varoDiv1=null;for(vari=0;iᔊᡠᨵḄli᪗$ᯠ&ᦋᐸᐘ)⁚ ᪵
7、vardt=document.getElementsByTagName("li");for(vari=0;iᦋ*+⁚ Ḅ᪵,vardt=documen
8、t.getElementById("Id");varcur=dt.previousSibling;while(cur!=null){cur.style.display='none
此文档下载收益归作者所有