filters[ ] | NN n/a IE 4(Win) DOM n/a | |
Provides a collection of all filters associated with the current element. Internet Explorer lets you use array notation or parentheses to access a single element in the collection. Filters are not available in IE for the Macintosh through Version 5.1. |
||
Object Model Reference | ||
document.getElementById("elementID").filters
|
||
Object-Specific Properties | ||
|
||
Object-Specific Methods | ||
|
length | NN n/a IE 4(Win) DOM n/a |
Read-only | |
Returns the number of elements in the collection. |
|
Example | |
var howMany = document.body.filters.length; |
|
Value | |
Integer. |
item( ) | NN n/a IE 4(Win) DOM n/a |
item(index) | |
Returns a filter object corresponding to the filter that matches the index value in source code order. |
|
Parameters | |
|
|
Returned Value | |
Reference to a filter object. If there are no matches to the parameter, the returned value is null. |
namedItem( ) | NN n/a IE 6(Win) DOM n/a |
namedItem(IDOrName) | |
Returns a filter object or collection of objects corresponding to the filter matching the parameter string value. |
|
Parameters | |
|
|
Returned Value | |
One filter object or collection (array) of filter objects. If there are no matches to the parameters, the returned value is null. |