Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
12-20-2004, 01:49 PM #1
- Join Date
- Dec 2004
- Toulouse, France
- Thanked 0 Times in 0 Posts
[howto] add a filter to getElementsBy<whatever>
I want to write a function to filter the result of getElementsBy<whatever> to be able to write lines such as:
var result=getElementsByTagName("tr").filterfunc(<some params>)
I think getElementsBy... return an array. in what prototype should I plug the filterFunc to be able to write such an instruction ? BTW, in this function, will the array be availble under 'this' ?