??????????????小??-DOM??????
???????????? ???????[ 2014/5/28 13:25:55 ] ????????????? ?????????
????1??childNodes???????????????childElementCount??children
????2??innerText?? FF?胁?????????????textContent????
????3???????????HTML????id????????????????????id???????????html????ie8-??????????????????????var??????????id????????????
????4???ele.style.property???????????位??e.style.height= 34 + ‘px’
????5????????????????
????6??????form?械?????ff????document.formName.elements['elementName']??????ie????????document.formName.item('name')???????elements???????????????????????NodeCollection??NodeList????????collection['name']????
????7???????html???????????IE????????e.selfAttr = variable/e.selfAttr??????????????FF????????e.setAttribute(attr?? value)/e.getAttribute('attr')???
????8??input????type????????IE???????????????FF?锌???????????????????????????????????????????鈥�????????
????9??window.location.href?????????????????????????????????url??????????window.location????位???url???纾簂ocation.hostname??location.port??location.pathname
????10??????????写??鈥�???????
????View Code
????11??body????????FF?械?body??????body????????????????????IE?卤???????????????
????12??function??new function????{}??new Function('.....')?????????
????13??FF?胁????e.parentElement?????位????????????e.parentNode???
????14??Table????????IE????????innerHTML?????table??tr???胁???????????????js?????innerHLML????dom?????????tbody??
????15??IE?2???????e.setAttribute????????????style?????????????e.setAttribute('style'?? '.......')??e.style.cssText = ‘??????????????’?????????
????16??document.createElement('<div class="name"></div>')???????html?????FF?胁????
????17??iframe????
????<iframe src="xxx.html" id="frameId" name="frameName" />
????IE ?锌??????window.top.frmaeId??window.top.frameName?????????farme;FF??????????????IE??iframe???未???????????????iframe.contentWindow????
????18??url encoding ????encodeURIComponent???????url??????????encodeURI?????????location??????????????url????
????19????????????IE??insertAdjacentElement(position??src)??FF??insertBefore(src?? ref)
????20??IE9???2??????html??????????????卸????????HTMLElement???????????e.nodeType === 1??????? e instanceof HTMLElement???
??????

???路???
??????????????????
2023/3/23 14:23:39???写?貌??????????
2023/3/22 16:17:39????????????????????些??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???路???????路
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11