July 1998
Intermediate to advanced
1456 pages
65h 5m
English
id — NN n/a IE 4 DOM 1
Read-only
A unique identifier that distinguishes this element from all the rest
in the document. The value of this property is most often used to
assemble references to elements, but you can loop through all
elements to see if there is a match of an id
value. If the author assigned the same value to the
ID attribute of multiple elements, the browser
creates an array (collection) of objects with that name
(document.all.
elementID
[i]).
var someID = document.all.tags("ACRONYM")[2].idString.
None.
Read now
Unlock full access