Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

JavaScript Programmer's Reference - Document Object

You are here: irt.org | XRef | HTML | Document

Document Object

Object/HTML
Internet Explorer 3.02
Netscape Navigator 2

Document Methods

NameMSIENNavNotes
attachEvent()5-
clear()3.022This method is deprecated as of JavaScript version 1.2
close()3.022
contextual()-4
createAttribute()-6
createCDATASection()-6
createComment()-6
createDocumentFragment()-6
createElement()46
createEntityReference()-6
createProcessingInstruction()-6
createStyleSheet()4-Inconsistent in some versions of MSIE.
createTextNode()56
detachEvent()5-
elementFromPoint()4-
execCommand()4-This is only supported by the 32 bit Windows version of MSIE.
getElementById()56
getElementsByName()56This always yeilds an empty collection on MSIE 5 for Macintosh.
getElementsByTagName()56
getSelection()-4On MSIE, use the selection property of the document object.
open()3.022
queryCommandEnabled()4-This is only supported by the 32 bit Windows version of MSIE.
queryCommandIndeterm()4-This is only supported by the 32 bit Windows version of MSIE.
queryCommandState()4-This is only supported by the 32 bit Windows version of MSIE.
queryCommandSupported()4-This is only supported by the 32 bit Windows version of MSIE.
queryCommandText()4-This is only supported by the 32 bit Windows version of MSIE.
queryCommandValue()4-This is only supported by the 32 bit Windows version of MSIE.
recalc()5-
write()3.022
writeln()3.022

Document Functions

NameMSIENNavNotes
captureEvents()-4
handleEvent()-4
releaseEvents()-4
routeEvent()-4

Document Properties

NameMSIENNavNotes
<form_name>43
activeElement4-
alinkColor3.022
background--
bgColor3.022
body46
characterset-6
charset4-
cookie3.022MSIE version 3 will only return cookie data for documents that were requested using the http: protocol.
defaultCharset4-
designMode5-
doctype46There is apparently no access to this value in Netscape Navigator and MSIE only provides limited access.
documentElement56Traversing this object with a for( ... in ... ) loop in MSIE 5 may lead to a browser crash.
domain43
expando4-
fgColor3.022
fileCreatedDate4-
fileModifiedDate4-
fileSize4-
height-4
implementation56This may not be implemented in all version of the MSIE browser.
lastModified3.022
linkColor3.022
location3.022
parentWindow4-
protocol3.02-
readyState4-
referrer3.022This does not work in MSIE version 3
selection4-
title3.022
uniqueID5-
URL43
vlinkColor3.022
width-4

Document Collectons

NameMSIENNavNotes
all[]4-This function may not be available in a properly constructed level 1 DOM implementation.
anchors[]44Some problems when adding new links with JS.
applets[]3.023Some problems when adding new links with JS.
classes[]-4This functionality is removed from Netscape Navigator 6.0.
embeds[]43
forms[]42
frames[]4-
ids[]-4Part of JSS and therefore deprecated.
images[]43Some issues when adding new images with JS.
layers[]-4Netscape Navigator version 6.0 completely removes layer support.
links[]3.022
plugins[]43Differences between versions of MSIE.
scripts[]4-Differences between versions of MSIE.
styleSheets[]46The entire style management complex is different between the two browsers.
tags[]-4Part of JSS and therefore deprecated.


You are here: irt.org | XRef | HTML | Document

©2018 Martin Webb