Beispiel: Schleifen mit
for .. in
Eigenschaften des Objekts
document
document.location: http://www.virtuelle-weltreise.de/checkDocument.html
document.implementation: [object DOMImplementation]
document.URL: http://www.virtuelle-weltreise.de/checkDocument.html
document.documentURI: http://www.virtuelle-weltreise.de/checkDocument.html
document.compatMode: CSS1Compat
document.characterSet: UTF-8
document.charset: UTF-8
document.inputEncoding: UTF-8
document.contentType: text/html
document.doctype: [object DocumentType]
document.documentElement: [object HTMLHtmlElement]
document.xmlEncoding: null
document.xmlVersion: null
document.xmlStandalone: false
document.domain: www.virtuelle-weltreise.de
document.referrer:
document.cookie:
document.lastModified: 03/04/2019 16:35:48
document.readyState: interactive
document.title: Schleifen mit for .. in
document.dir:
document.body: [object HTMLBodyElement]
document.head: [object HTMLHeadElement]
document.images: [object HTMLCollection]
document.embeds: [object HTMLCollection]
document.plugins: [object HTMLCollection]
document.links: [object HTMLCollection]
document.forms: [object HTMLCollection]
document.scripts: [object HTMLCollection]
document.currentScript: null
document.defaultView: [object Window]
document.designMode: off
document.onreadystatechange: null
document.anchors: [object HTMLCollection]
document.applets: [object HTMLCollection]
document.fgColor:
document.linkColor:
document.vlinkColor:
document.alinkColor:
document.bgColor:
document.all: [object HTMLAllCollection]
document.scrollingElement: [object HTMLHtmlElement]
document.onpointerlockchange: null
document.onpointerlockerror: null
document.hidden: false
document.visibilityState: visible
document.wasDiscarded: false
document.prerendering: false
document.featurePolicy: [object FeaturePolicy]
document.webkitVisibilityState: visible
document.webkitHidden: false
document.onbeforecopy: null
document.onbeforecut: null
document.onbeforepaste: null
document.onfreeze: null
document.onprerenderingchange: null
document.onresume: null
document.onsearch: null
document.onvisibilitychange: null
document.timeline: [object DocumentTimeline]
document.fullscreenEnabled: true
document.fullscreen: false
document.onfullscreenchange: null
document.onfullscreenerror: null
document.webkitIsFullScreen: false
document.webkitCurrentFullScreenElement: null
document.webkitFullscreenEnabled: true
document.webkitFullscreenElement: null
document.onwebkitfullscreenchange: null
document.onwebkitfullscreenerror: null
document.rootElement: null
document.pictureInPictureEnabled: true
document.onbeforexrselect: null
document.onabort: null
document.onbeforeinput: null
document.onbeforematch: null
document.onbeforetoggle: null
document.onblur: null
document.oncancel: null
document.oncanplay: null
document.oncanplaythrough: null
document.onchange: null
document.onclick: null
document.onclose: null
document.oncontentvisibilityautostatechange: null
document.oncontextlost: null
document.oncontextmenu: null
document.oncontextrestored: null
document.oncuechange: null
document.ondblclick: null
document.ondrag: null
document.ondragend: null
document.ondragenter: null
document.ondragleave: null
document.ondragover: null
document.ondragstart: null
document.ondrop: null
document.ondurationchange: null
document.onemptied: null
document.onended: null
document.onerror: null
document.onfocus: null
document.onformdata: null
document.oninput: null
document.oninvalid: null
document.onkeydown: null
document.onkeypress: null
document.onkeyup: null
document.onload: null
document.onloadeddata: null
document.onloadedmetadata: null
document.onloadstart: null
document.onmousedown: null
document.onmouseenter: null
document.onmouseleave: null
document.onmousemove: null
document.onmouseout: null
document.onmouseover: null
document.onmouseup: null
document.onmousewheel: null
document.onpause: null
document.onplay: null
document.onplaying: null
document.onprogress: null
document.onratechange: null
document.onreset: null
document.onresize: null
document.onscroll: null
document.onsecuritypolicyviolation: null
document.onseeked: null
document.onseeking: null
document.onselect: null
document.onslotchange: null
document.onstalled: null
document.onsubmit: null
document.onsuspend: null
document.ontimeupdate: null
document.ontoggle: null
document.onvolumechange: null
document.onwaiting: null
document.onwebkitanimationend: null
document.onwebkitanimationiteration: null
document.onwebkitanimationstart: null
document.onwebkittransitionend: null
document.onwheel: null
document.onauxclick: null
document.ongotpointercapture: null
document.onlostpointercapture: null
document.onpointerdown: null
document.onpointermove: null
document.onpointerrawupdate: null
document.onpointerup: null
document.onpointercancel: null
document.onpointerover: null
document.onpointerout: null
document.onpointerenter: null
document.onpointerleave: null
document.onselectstart: null
document.onselectionchange: null
document.onanimationend: null
document.onanimationiteration: null
document.onanimationstart: null
document.ontransitionrun: null
document.ontransitionstart: null
document.ontransitionend: null
document.ontransitioncancel: null
document.oncopy: null
document.oncut: null
document.onpaste: null
document.children: [object HTMLCollection]
document.firstElementChild: [object HTMLHtmlElement]
document.lastElementChild: [object HTMLHtmlElement]
document.childElementCount: 1
document.activeElement: [object HTMLBodyElement]
document.styleSheets: [object StyleSheetList]
document.pointerLockElement: null
document.fullscreenElement: null
document.adoptedStyleSheets:
document.pictureInPictureElement: null
document.fonts: [object FontFaceSet]
document.adoptNode: function adoptNode() { [native code] }
document.append: function append() { [native code] }
document.captureEvents: function captureEvents() { [native code] }
document.caretRangeFromPoint: function caretRangeFromPoint() { [native code] }
document.clear: function clear() { [native code] }
document.close: function close() { [native code] }
document.createAttribute: function createAttribute() { [native code] }
document.createAttributeNS: function createAttributeNS() { [native code] }
document.createCDATASection: function createCDATASection() { [native code] }
document.createComment: function createComment() { [native code] }
document.createDocumentFragment: function createDocumentFragment() { [native code] }
document.createElement: function createElement() { [native code] }
document.createElementNS: function createElementNS() { [native code] }
document.createEvent: function createEvent() { [native code] }
document.createExpression: function createExpression() { [native code] }
document.createNSResolver: function createNSResolver() { [native code] }
document.createNodeIterator: function createNodeIterator() { [native code] }
document.createProcessingInstruction: function createProcessingInstruction() { [native code] }
document.createRange: function createRange() { [native code] }
document.createTextNode: function createTextNode() { [native code] }
document.createTreeWalker: function createTreeWalker() { [native code] }
document.elementFromPoint: function elementFromPoint() { [native code] }
document.elementsFromPoint: function elementsFromPoint() { [native code] }
document.evaluate: function evaluate() { [native code] }
document.execCommand: function execCommand() { [native code] }
document.exitFullscreen: function exitFullscreen() { [native code] }
document.exitPictureInPicture: function exitPictureInPicture() { [native code] }
document.exitPointerLock: function exitPointerLock() { [native code] }
document.getAnimations: function getAnimations() { [native code] }
document.getElementById: function getElementById() { [native code] }
document.getElementsByClassName: function getElementsByClassName() { [native code] }
document.getElementsByName: function getElementsByName() { [native code] }
document.getElementsByTagName: function getElementsByTagName() { [native code] }
document.getElementsByTagNameNS: function getElementsByTagNameNS() { [native code] }
document.getSelection: function getSelection() { [native code] }
document.hasFocus: function hasFocus() { [native code] }
document.hasStorageAccess: function hasStorageAccess() { [native code] }
document.hasUnpartitionedCookieAccess: function hasUnpartitionedCookieAccess() { [native code] }
document.importNode: function importNode() { [native code] }
document.open: function open() { [native code] }
document.prepend: function prepend() { [native code] }
document.queryCommandEnabled: function queryCommandEnabled() { [native code] }
document.queryCommandIndeterm: function queryCommandIndeterm() { [native code] }
document.queryCommandState: function queryCommandState() { [native code] }
document.queryCommandSupported: function queryCommandSupported() { [native code] }
document.queryCommandValue: function queryCommandValue() { [native code] }
document.querySelector: function querySelector() { [native code] }
document.querySelectorAll: function querySelectorAll() { [native code] }
document.releaseEvents: function releaseEvents() { [native code] }
document.replaceChildren: function replaceChildren() { [native code] }
document.requestStorageAccess: function requestStorageAccess() { [native code] }
document.requestStorageAccessFor: function requestStorageAccessFor() { [native code] }
document.startViewTransition: function startViewTransition() { [native code] }
document.webkitCancelFullScreen: function webkitCancelFullScreen() { [native code] }
document.webkitExitFullscreen: function webkitExitFullscreen() { [native code] }
document.write: function write() { [native code] }
document.writeln: function writeln() { [native code] }
document.fragmentDirective: [object FragmentDirective]
document.onscrollend: null
document.onscrollsnapchange: null
document.onscrollsnapchanging: null
document.caretPositionFromPoint: function caretPositionFromPoint() { [native code] }
document.nodeType: 9
document.nodeName: #document
document.baseURI: http://www.virtuelle-weltreise.de/checkDocument.html
document.isConnected: true
document.ownerDocument: null
document.parentNode: null
document.parentElement: null
document.childNodes: [object NodeList]
document.firstChild: [object DocumentType]
document.lastChild: [object HTMLHtmlElement]
document.previousSibling: null
document.nextSibling: null
document.nodeValue: null
document.textContent: null
document.ELEMENT_NODE: 1
document.ATTRIBUTE_NODE: 2
document.TEXT_NODE: 3
document.CDATA_SECTION_NODE: 4
document.ENTITY_REFERENCE_NODE: 5
document.ENTITY_NODE: 6
document.PROCESSING_INSTRUCTION_NODE: 7
document.COMMENT_NODE: 8
document.DOCUMENT_NODE: 9
document.DOCUMENT_TYPE_NODE: 10
document.DOCUMENT_FRAGMENT_NODE: 11
document.NOTATION_NODE: 12
document.DOCUMENT_POSITION_DISCONNECTED: 1
document.DOCUMENT_POSITION_PRECEDING: 2
document.DOCUMENT_POSITION_FOLLOWING: 4
document.DOCUMENT_POSITION_CONTAINS: 8
document.DOCUMENT_POSITION_CONTAINED_BY: 16
document.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32
document.appendChild: function appendChild() { [native code] }
document.cloneNode: function cloneNode() { [native code] }
document.compareDocumentPosition: function compareDocumentPosition() { [native code] }
document.contains: function contains() { [native code] }
document.getRootNode: function getRootNode() { [native code] }
document.hasChildNodes: function hasChildNodes() { [native code] }
document.insertBefore: function insertBefore() { [native code] }
document.isDefaultNamespace: function isDefaultNamespace() { [native code] }
document.isEqualNode: function isEqualNode() { [native code] }
document.isSameNode: function isSameNode() { [native code] }
document.lookupNamespaceURI: function lookupNamespaceURI() { [native code] }
document.lookupPrefix: function lookupPrefix() { [native code] }
document.normalize: function normalize() { [native code] }
document.removeChild: function removeChild() { [native code] }
document.replaceChild: function replaceChild() { [native code] }
document.addEventListener: function addEventListener() { [native code] }
document.dispatchEvent: function dispatchEvent() { [native code] }
document.removeEventListener: function removeEventListener() { [native code] }