DOM 元素 属性和方法

console.dir()

namespaceURI: "http://www.w3.org/1999/xhtml"

nextElementSibling: null

nextSibling: null

nodeName: "BODY"

nodeType: 1

nodeValue: null

offsetHeight: 608

offsetLeft: 0

offsetParent: nul

loffsetTop: 0

offsetWidth: 1333

onabort: null

onautocomplete: null

onautocompleteerror: null

onbeforecopy: null

onbeforecut: null

onbeforepaste: null

onbeforeunload: null

onblur: null

oncancel: null

oncanplay: null

oncanplaythrough: null

onchange: null

onclick: null

onclose: null

oncontextmenu: null

oncopy: null

oncuechange: null

oncut: null

ondblclick: null

ondrag: null

ondragend: null

ondragenter: null

ondragleave: null

ondragover: null

ondragstart: null

ondrop: null

ondurationchange: null

onemptied: null

onended: null

onerror: null

onfocus: null

onhashchange: null

oninput: null

oninvalid: null

onkeydown: null

onkeypress: null

onkeyup: null

onlanguagechange: null

onload: null

onloadeddata: null

onloadedmetadata: null

onloadstart: null

onmessage: null

onmousedown: null

onmouseenter: null

onmouseleave: null

onmousemove: null

onmouseout: null

onmouseover: null

onmouseup: null

onmousewheel: null

onoffline: null

ononline: null

onpagehide: null

onpageshow: null

onpaste: null

onpause: null

onplay: null

onplaying: null

onpopstate: null

onprogress: null

onratechange: null

onreset: null

onresize: null

onscroll: null

onsearch: null

onseeked: null

onseeking: null

onselect: null

onselectstart: null

onshow: null

onstalled: null

onstorage: null

onsubmit: null

onsuspend: null

ontimeupdate: null

ontoggle: null

onunload: null

onvolumechange: null

onwaiting: null

onwebkitfullscreenchange: null

onwebkitfullscreenerror: null

onwheel: null

outerHTML: "<body style="background:#eee">↵ <center>

posted @ 2014-12-01 00:10  March On  阅读(273)  评论(0编辑  收藏  举报
top last
Welcome user from
(since 2020.6.1)