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

The item Method

The item method gives you another way to access objects in a collection—you can use this method rather than an array index. You can see the support for this method in Table 6.32.

Table 6.32. The item Method
Method NS2 NS3 NS4 NS6 IE3a IE3b IE4 IE5 IE5.5 IE6
item(number [, index])    x   x x x x
  Returns: Object
item(text [, index])    x   x x x x
  Returns: Object



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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