lzth.net
ǰλãҳ >> DoCumEnt.gEtElEmEntByID(iD).ChilDNoDEsΪʲôֻ... >>

DoCumEnt.gEtElEmEntByID(iD).ChilDNoDEsΪʲôֻ...

var obj = document.getElementById(id).childNodes ID ӦԪжԪصĻ obj[1],obj[2] ĬǷض ʹ±

ԪDzǶ׵ Υw3cı׼ jsǻȡǶ׵h2 Ϊʲô1 ΪԪصıڵҲԪأԵ1 ôΪʲôڶأ ΪdivǿǶģԻȡԪdivһ...

fmԪǸiframe javascriptȡiframeҪiframeǶҳ븸ҳͬԴ

δеcellsڻȡеĵԪǰһ󣬺innerHTMLȡԪtdе

childNodes ûãص⣬ܰ˺ܶûõĿսڵ㣬childNodes()ȡԪDzԵġ tableлȡtrtdȻͦ tr=tbs.rows[] td=tbs.rows[].cells[] tbody...

ͨdocument.body.childNodesȡbodyµнڵһ⣬bodyееĿոͻжᱻbodyеһڵ㣬ԲŻҪɾβɾԪص ¥ԽдͬһУҳ棬ͻֻᷢɾһ...

ΪıҲǽڵ, Ϊ"ıڵ" ѯû"", : alert(/[]/.test(b.innerHTML));

׽,ڶеĻ for(var i = 0; i

TagDiv=obj.childNodes; var arrDiv = new Array; for(i=0;i...

ãܸΪɣ getElementsByNamedocumentķʹtableArr[i].getElementsByName("b"); ڻ˽ݡϣҵĻشʣӭڱƽ̨ѯ

վҳ | վͼ
All rights reserved Powered by www.lzth.net
copyright ©right 2010-2021
磬ַϵͷzhit325@qq.com