Categories:
cells
javascript cells item( )
@April 28, 2008, 3:32 p.m.
item( ) |
Firefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1 |
item(index[, subindex]) item(index)
|
|
Returns a single td object or collection of td objects corresponding to the element matching the index value (or, optionally in IE, the index and subindex values).
|
|
Parameters |
|
- index
-
When the parameter is a zero-based integer, the returned value is a single element corresponding to the specified item in source code order (nested within the current element); when the parameter is a string (IE only), the returned value is a collection of elements whose id properties match that string.
- subindex
-
In IE only, if you specify a string value for the first parameter, you can use the second parameter to specify a zero-based index that retrieves the specified element from the collection whose id properties match the first parameter's string value.
|
|
Returned Value |
One td object or collection (array) of td objects. If there are no matches to the parameters, the returned value is null.
|
Powered by
Linode.