Syntax | |
| |
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. | |
The item() method allows you to 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. | |
|