August 1999
Intermediate to advanced
1488 pages
72h 53m
English
document.ids.idName
The ids property is an associative array that contains IDs associated with Netscape style sheets. Using dot notation, idName specifies an ID associated with a style. The style sheet IDs are created within the <style> or <script> tags using JavaScript or HTML.
Note
When creating an ID, make sure the declaration appears before the new ID is used, because many HTML objects cannot be changed after they have been created in the document.
Note
If JavaScript dot notation is used when creating a new ID within <style> tags, document does not have to be specified.
Listing 7.103 demonstrates three different ways to create style sheet IDs using JavaScript and HTML ...
Read now
Unlock full access