• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

The id Property

As you can guess, the id property corresponds to the ID HTML attribute, and holds an object’s ID value. Working with ID values is relatively new for browsers, coming in largely because the W3C DOM emphasizes the ID attribute over the NAME attribute. You can see the support for these properties in Table 5.26.

Table 5.26. The id Property
Property NS2 NS3 NS4 NS6 IE3a IE3b IE4 IE5 IE5.5 IE6
id    x   x x x x
  Read-only
  Type: String



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint