• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

document.all.item()

JScript 3.0+ IE 4+ Syntax

document.all.item(name)

Description

The item() method provides a way to retrieve an HTML element out of the document.all array without having to know its position in the array. Instead of using an index position, the item() method allows you to just pass in the name of the element as specified by the name or id attribute of HTML tags. Normally, the method returns the element, but, if more than one element is found with the same name, an array of elements is returned.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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