10
7
2011
21

javascript 之 object对象 之 div的对象 之 不同浏览器对比 完整信息

对div的Object对象中的信息(方法和属性)作了输出,有ie8,ff7,opera11三Browser的,因为对其认识还不深,so以此来了解下,以便将来使用。(PS:内容真多!,这边就贴信息,是完整的,以后再写文章进行分析,估计会先对这些信息作个精简,因为有些不常用。)

querySelector--->function querySelector() { [native code] }
querySelectorAll--->function querySelectorAll() { [native code] }
scrollTop--->0
scrollLeft--->0
scrollHeight--->18
scrollWidth--->1187
clientTop--->0
clientLeft--->0
clientHeight--->18
clientWidth--->1187
firstElementChild--->null
lastElementChild--->null
previousElementSibling--->javascript:;
nextElementSibling--->javascript:;
childElementCount--->0
children--->[object HTMLCollection]
classList--->scroll
setCapture--->function setCapture() { [native code] }
getElementsByClassName--->function getElementsByClassName() { [native code] }
getClientRects--->function getClientRects() { [native code] }
getBoundingClientRect--->function getBoundingClientRect() { [native code] }
releaseCapture--->function releaseCapture() { [native code] }
mozMatchesSelector--->function mozMatchesSelector() { [native code] }
addEventListener--->function addEventListener() { [native code] }
removeEventListener--->function removeEventListener() { [native code] }
dispatchEvent--->function dispatchEvent() { [native code] }
style--->[object CSSStyleDeclaration]
contentEditable--->inherit
isContentEditable--->false
offsetParent--->[object HTMLBodyElement]
innerHTML--->ee
offsetLeft--->8
offsetTop--->8
offsetHeight--->18
offsetWidth--->1171
scrollIntoView--->function scrollIntoView() { [native code] }
id--->scroll
title--->
lang--->
dir--->
className--->scroll
accessKey--->
blur--->function blur() { [native code] }
focus--->function focus() { [native code] }
click--->function click() { [native code] }
tagName--->DIV
removeAttributeNS--->function removeAttributeNS() { [native code] }
removeAttribute--->function removeAttribute() { [native code] }
getAttribute--->function getAttribute() { [native code] }
getElementsByTagName--->function getElementsByTagName() { [native code] }
setAttribute--->function setAttribute() { [native code] }
getElementsByTagNameNS--->function getElementsByTagNameNS() { [native code] }
hasAttributeNS--->function hasAttributeNS() { [native code] }
setAttributeNS--->function setAttributeNS() { [native code] }
hasAttribute--->function hasAttribute() { [native code] }
getAttributeNS--->function getAttributeNS() { [native code] }
nodeName--->DIV
nodeValue--->null
nodeType--->1
parentNode--->[object HTMLDivElement]
childNodes--->[object NodeList]
firstChild--->[object Text]
lastChild--->[object Text]
previousSibling--->[object Text]
nextSibling--->[object Text]
attributes--->[object NamedNodeMap]
ownerDocument--->[object HTMLDocument]
namespaceURI--->http://www.w3.org/1999/xhtml
prefix--->null
localName--->div
baseURI--->file:///C:/movePic.html
textContent--->ee
setUserData--->function setUserData() { [native code] }
getUserData--->function getUserData() { [native code] }
insertBefore--->function insertBefore() { [native code] }
replaceChild--->function replaceChild() { [native code] }
removeChild--->function removeChild() { [native code] }
appendChild--->function appendChild() { [native code] }
hasChildNodes--->function hasChildNodes() { [native code] }
cloneNode--->function cloneNode() { [native code] }
normalize--->function normalize() { [native code] }
isSupported--->function isSupported() { [native code] }
hasAttributes--->function hasAttributes() { [native code] }
compareDocumentPosition--->function compareDocumentPosition() { [native code] }
isSameNode--->function isSameNode() { [native code] }
lookupPrefix--->function lookupPrefix() { [native code] }
isDefaultNamespace--->function isDefaultNamespace() { [native code] }
lookupNamespaceURI--->function lookupNamespaceURI() { [native code] }
isEqualNode--->function isEqualNode() { [native code] }
getAttributeNode--->function getAttributeNode() { [native code] }
setAttributeNode--->function setAttributeNode() { [native code] }
removeAttributeNode--->function removeAttributeNode() { [native code] }
getAttributeNodeNS--->function getAttributeNodeNS() { [native code] }
setAttributeNodeNS--->function setAttributeNodeNS() { [native code] }
align--->
ELEMENT_NODE--->1
ATTRIBUTE_NODE--->2
TEXT_NODE--->3
CDATA_SECTION_NODE--->4
ENTITY_REFERENCE_NODE--->5
ENTITY_NODE--->6
PROCESSING_INSTRUCTION_NODE--->7
COMMENT_NODE--->8
DOCUMENT_NODE--->9
DOCUMENT_TYPE_NODE--->10
DOCUMENT_FRAGMENT_NODE--->11
NOTATION_NODE--->12
DOCUMENT_POSITION_DISCONNECTED--->1
DOCUMENT_POSITION_PRECEDING--->2
DOCUMENT_POSITION_FOLLOWING--->4
DOCUMENT_POSITION_CONTAINS--->8
DOCUMENT_POSITION_CONTAINED_BY--->16
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC--->32
hidden--->false
tabIndex--->-1
draggable--->false
spellcheck--->false
dataset--->[object DOMStringMap]

 

accessKey--->
align--->
all--->[object HTMLCollection]
attributes--->[object NamedNodeMap]
baseURI--->file://localhost/C:/movePic.html
childElementCount--->0
childNodes--->[object NodeList]
children--->[object HTMLCollection]
classList--->scroll
className--->scroll
clientHeight--->16
clientLeft--->0
clientTop--->0
clientWidth--->1072
contentEditable--->inherit
currentStyle--->[object CSSStyleDeclaration]
dataset--->[object DOMStringMap]
dir--->
document--->[object HTMLDocument]
firstChild--->[object Text]
firstElementChild--->null
hidden--->false
id--->scroll
innerHTML--->ee 
innerText--->ee 
isContentEditable--->false
lang--->
lastChild--->[object Text]
lastElementChild--->null
localName--->DIV
namespaceURI--->null
nextElementSibling--->javascript:;
nextSibling--->[object Text]
nodeName--->DIV
nodeType--->1
nodeValue--->null
offsetHeight--->16
offsetLeft--->8
offsetParent--->[object HTMLBodyElement]
offsetTop--->8
offsetWidth--->1056
outerHTML--->ee
outerText--->ee
ownerDocument--->[object HTMLDocument]
parentElement--->[object HTMLDivElement]
parentNode--->[object HTMLDivElement]
prefix--->null
previousElementSibling--->javascript:;
previousSibling--->[object Text]
scrollHeight--->16
scrollLeft--->0
scrollTop--->0
scrollWidth--->1056
sourceIndex--->6
spellcheck--->true
style--->[object CSSStyleDeclaration]
tabIndex--->-1
tagName--->DIV
textContent--->ee 
title--->
unselectable--->
onscroll--->null
onfocusin--->null
onfocusout--->null
onclick--->null
onmousedown--->null
onmouseup--->null
onmouseover--->null
onmouseenter--->null
onmousemove--->null
onmouseout--->null
onmouseleave--->null
onmousewheel--->null
onkeypress--->null
onkeydown--->null
onkeyup--->null
onload--->null
onunload--->null
onabort--->null
onerror--->null
onfocus--->null
onblur--->null
ondblclick--->null
oncontextmenu--->null
onreadystatechange--->null
oninvalid--->null
onloadstart--->null
onprogress--->null
onsuspend--->null
onstalled--->null
onloadend--->null
onemptied--->null
onplay--->null
onpause--->null
onloadedmetadata--->null
onloadeddata--->null
onwaiting--->null
onplaying--->null
onseeking--->null
onseeked--->null
ontimeupdate--->null
onended--->null
oncanplay--->null
oncanplaythrough--->null
onratechange--->null
ondurationchange--->null
onvolumechange--->null
blur--->function blur() { [native code] }
focus--->function focus() { [native code] }
click--->function click() { [native code] }
insertAdjacentElement--->function insertAdjacentElement() { [native code] }
insertAdjacentHTML--->function insertAdjacentHTML() { [native code] }
insertAdjacentText--->function insertAdjacentText() { [native code] }
toString--->function Function() { [native code] }
removeAttributeNode--->function removeAttributeNode() { [native code] }
contains--->function contains() { [native code] }
scrollIntoView--->function scrollIntoView() { [native code] }
getBoundingClientRect--->function getBoundingClientRect() { [native code] }
getClientRects--->function getClientRects() { [native code] }
getAttribute--->function getAttribute() { [native code] }
getAttributeNS--->function getAttributeNS() { [native code] }
hasAttribute--->function hasAttribute() { [native code] }
hasAttributeNS--->function hasAttributeNS() { [native code] }
setAttribute--->function setAttribute() { [native code] }
setAttributeNS--->function setAttributeNS() { [native code] }
removeAttribute--->function removeAttribute() { [native code] }
removeAttributeNS--->function removeAttributeNS() { [native code] }
getAttributeNode--->function getAttributeNode() { [native code] }
getAttributeNodeNS--->function getAttributeNodeNS() { [native code] }
setAttributeNode--->function setAttributeNode() { [native code] }
setAttributeNodeNS--->function setAttributeNodeNS() { [native code] }
getElementsByTagName--->function getElementsByTagName() { [native code] }
getElementsByTagNameNS--->function getElementsByTagNameNS() { [native code] }
getElementsByClassName--->function getElementsByClassName() { [native code] }
querySelector--->function querySelector() { [native code] }
querySelectorAll--->function querySelectorAll() { [native code] }
oMatchesSelector--->function oMatchesSelector() { [native code] }
dispatchEvent--->function dispatchEvent() { [native code] }
insertBefore--->function insertBefore() { [native code] }
replaceChild--->function replaceChild() { [native code] }
removeChild--->function removeChild() { [native code] }
appendChild--->function appendChild() { [native code] }
hasChildNodes--->function hasChildNodes() { [native code] }
cloneNode--->function cloneNode() { [native code] }
normalize--->function normalize() { [native code] }
isSupported--->function isSupported() { [native code] }
hasAttributes--->function hasAttributes() { [native code] }
isSameNode--->function isSameNode() { [native code] }
isEqualNode--->function isEqualNode() { [native code] }
getFeature--->function getFeature() { [native code] }
compareDocumentPosition--->function compareDocumentPosition() { [native code] }
addEventListener--->function addEventListener() { [native code] }
removeEventListener--->function removeEventListener() { [native code] }
attachEvent--->function attachEvent() { [native code] }
detachEvent--->function detachEvent() { [native code] }
lookupPrefix--->function lookupPrefix() { [native code] }
isDefaultNamespace--->function isDefaultNamespace() { [native code] }
lookupNamespaceURI--->function lookupNamespaceURI() { [native code] }
selectNodes--->function selectNodes() { [native code] }
selectSingleNode--->function selectSingleNode() { [native code] }
ELEMENT_NODE--->1
ATTRIBUTE_NODE--->2
TEXT_NODE--->3
CDATA_SECTION_NODE--->4
ENTITY_REFERENCE_NODE--->5
ENTITY_NODE--->6
PROCESSING_INSTRUCTION_NODE--->7
COMMENT_NODE--->8
DOCUMENT_NODE--->9
DOCUMENT_TYPE_NODE--->10
DOCUMENT_FRAGMENT_NODE--->11
NOTATION_NODE--->12
DOCUMENT_POSITION_DISCONNECTED--->1
DOCUMENT_POSITION_PRECEDING--->2
DOCUMENT_POSITION_FOLLOWING--->4
DOCUMENT_POSITION_CONTAINS--->8
DOCUMENT_POSITION_CONTAINED_BY--->16
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC--->32

 

nextSibling--->javascript:;
onresizeend--->null
onrowenter--->null
aria-haspopup--->
childNodes--->[object]
ondragleave--->null
canHaveHTML--->true
onbeforepaste--->null
ondragover--->null
onbeforecopy--->null
aria-disabled--->
onpage--->null
recordNumber--->null
previousSibling--->javascript:;
nodeName--->DIV
onbeforeactivate--->null
accessKey--->
currentStyle--->[object]
scrollLeft--->0
onbeforeeditfocus--->null
oncontrolselect--->null
aria-hidden--->
onblur--->null
hideFocus--->false
clientHeight--->0
style--->[object]
onbeforedeactivate--->null
dir--->
aria-expanded--->
onkeydown--->null
nodeType--->1
ondragstart--->null
onscroll--->null
onpropertychange--->null
ondragenter--->null
id--->scroll
aria-level--->0
onrowsinserted--->null
scopeName--->HTML
lang--->
onmouseup--->null
aria-busy--->
oncontextmenu--->null
language--->
scrollTop--->0
offsetWidth--->859
onbeforeupdate--->null
onreadystatechange--->null
onmouseenter--->null
filters--->[object]
onresize--->null
isContentEditable--->false
aria-checked--->
aria-readonly--->
oncopy--->null
onselectstart--->null
scrollHeight--->18
onmove--->null
ondragend--->null
onrowexit--->null
lastChild--->[object]
aria-secret--->
onactivate--->null
canHaveChildren--->true
onfocus--->null
onfocusin--->null
isMultiLine--->true
onmouseover--->null
offsetTop--->15
oncut--->null
parentNode--->[object]
tagName--->DIV
className--->scroll
onmousemove--->null
title--->
role--->
behaviorUrns--->[object]
onfocusout--->null
onfilterchange--->null
disabled--->false
parentTextEdit--->[object]
ownerDocument--->[object]
offsetParent--->[object]
aria-posinset--->0
ondrop--->null
ondblclick--->null
onrowsdelete--->null
tabIndex--->0
onkeypress--->null
aria-relevant--->
onlosecapture--->null
innerText--->ee 
aria-live--->
parentElement--->[object]
ondeactivate--->null
aria-labelledby--->
aria-pressed--->
children--->[object]
ondatasetchanged--->null
ondataavailable--->null
aria-invalid--->
onafterupdate--->null
nodeValue--->null
onmousewheel--->null
onkeyup--->null
readyState--->complete
onmovestart--->null
aria-valuenow--->
aria-selected--->
onmouseout--->null
aria-owns--->
aria-valuemax--->
onmoveend--->null
contentEditable--->inherit
document--->[object]
firstChild--->[object]
sourceIndex--->7
outerText--->ee 
isTextEdit--->false
isDisabled--->false
oncellchange--->null
runtimeStyle--->[object]
scrollWidth--->859
aria-valuemin--->
onlayoutcomplete--->null
onhelp--->null
attributes--->[object]
offsetHeight--->18
onerrorupdate--->null
onmousedown--->null
clientTop--->0
aria-setsize--->0
clientWidth--->0
onpaste--->null
tagUrn--->
onmouseleave--->null
onclick--->null
outerHTML--->ee
ondrag--->null
aria-controls--->
onresizestart--->null
aria-flowto--->
ondatasetcomplete--->null
aria-required--->
clientLeft--->0
aria-describedby--->
all--->[object]
onbeforecut--->null
innerHTML--->ee 
aria-activedescendant--->
aria-multiselectable--->
offsetLeft--->10
align--->
dataSrc--->
dataFld--->
noWrap--->false
dataFormatAs--->
ta--->612
Category: Web编程 | Tags: javascript | Read Count: 2586
Avatar_small
Digital Ali 说:
2021年9月05日 16:50

Excellent post. I was always checking this blog, and I’m impressed! Extremely useful info specially the last part, I care for such information a lot. I was exploring this particular info for a long time. Thanks to this blog my exploration has ended. m4ufree movies

Avatar_small
Digital Ali 说:
2021年9月11日 18:21 Thank you for this fascinating post, I am happy I observed this website on Google. Not just content, in fact, the whole site is fantastic. https://docs.google.com/spreadsheets/d/1ntiogcbDulo3Vl9Htd7Jl9Xy-2kUp7-F33vbQ4q67Uc/edit#gid=409280497
Avatar_small
Digital Ali 说:
2021年9月12日 20:45

Wow, What an Outstanding post. I found this too much informatics. It is what I was seeking for. I would like to recommend you that please keep sharing such type of info.If possible, Thanks. square board with saw

Avatar_small
Gullam Mohiyoddin 说:
2021年9月27日 22:21

Overwhelming read, Positive site page, where did u a couple of the articles on your page now, and I really like your style. Grateful and others intentionally keep up the convincing work. เสือมังกร วิธีเล่น

Avatar_small
Gullam Mohiyoddin 说:
2021年9月29日 04:29

This is imaginatively overpowering, offering little appreciation to , head will mouse click on the interest: เว็บ 888

Avatar_small
William 说:
2021年9月30日 00:17

Overwhelming read, Positive site page, where did u a couple of the articles on your page now, and I really like your style. Grateful and others intentionally keep up the convincing work. starvegas

Avatar_small
William 说:
2021年9月30日 22:10

Sees for paper an especially obliging piece, I reeled close to your blog other than release up a bound report. I need your improvement for scratching... บาคาร่า ได้เงินจริง

Avatar_small
William 说:
2021年9月30日 23:24

This is major, paying unimportant cerebrum to it might be huge so you can take a gander at the going with site: SA

Avatar_small
William Johnson 说:
2021年10月02日 17:50

Overpowering information, central and tremendous perspective, as arrangement frontal cortex blowing stuff with sharp experiences and assessments, stores of goliath information and inspiration, the two of which I need, seeing at offer as an especially obliging information here. metamorphosis literary agency

Avatar_small
William Johnson 说:
2021年10月02日 23:13

I truly respect this confusing post that you have obliged us. I ensure this would be monster for by a wide edge by a wide edge a titanic piece of people. หวยหุ้น

Avatar_small
link 说:
2021年10月05日 22:37

Some truly wonderful work on behalf of the owner of this internet site , perfectly great articles . สล็อตออนไลน์

Avatar_small
Dave 说:
2021年10月05日 23:40

You there, this is really good post here. Thanks for taking the time to post such valuable information. Quality content is what always gets the visitors coming. PG SLOT

Avatar_small
link 说:
2021年10月07日 21:20

Wow! Such an amazing and helpful post this is. I really really love it. It's so good and so awesome. I am just amazed. I hope that you continue to do your work like this in the future also soaptoday

Avatar_small
link 说:
2021年10月09日 21:19

Thanks for the blog post buddy! Keep them coming... สล็อต777

Avatar_small
link 说:
2021年10月10日 16:48

Thanks for sharing the post.. parents are worlds best person in each lives of individual..they need or must succeed to sustain needs of the family. North American Bancard Agent Program

Avatar_small
William Johnson 说:
2021年10月22日 12:12

I propose as shown by a general point of view shocking close by clear data, as such imagine it: 카지노사이트

Avatar_small
Dave 说:
2021年11月04日 17:12

nice bLog! its interesting. thank you for sharing.... Football news and prediction

Avatar_small
maxobom 说:
2021年12月11日 13:08

That is really nice to hear. thank you for the update and good luck. Top technology companies in Boston

Avatar_small
Dave 说:
2021年12月14日 14:19

I just want to let you know that I just check out your site and I find it very interesting and informative.. Adobe Photoshop Crack

Avatar_small
William Johnson 说:
2022年1月20日 01:51

Beginning You got a wavering on the web diary .I request be gotten with vindicating uniform minutes. I see you got really utilitarian issue , I accreditation be perseveringly checking your blog blesss. https://twitchviral.com/blog/how-to-stream-on-twitch/

Avatar_small
William Johnson 说:
2022年2月17日 00:58

Cool you make, the information is genuinely salubrious further stunning, I'll give you a work nearby my scene. fridays


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter

Host by is-Programmer.com | Power by Chito 1.3.3 beta | Theme: Aeros 2.0 by TheBuckmaker.com