anagai escreveu:
> For now i will just have to use the old tbl.rows method to
> access the rows. This method is clusmy if you want to make a reusable
> function for summing data and need to ignore all the extra rows such as
> title and spacer rows.
I don't see anything wrong with the rows property...
Anyway, what you're trying to do is possible, have you ever seen those
"javascript css selectors"? You could make an extended version or just
make a function where you send an element list and a callback function
to filter those who matched your criteria... Maybe it's also possible
to achieve your goal with xpath (I didn't read about it yet)... But if
you can do it using simple js, why not?
There are certain circunstances where it isn't possible to make a 100%
reusable code, but if you can reuse 70% of it or at least the most
annoying part, it's already great
It's just my opinion =]
--
Jonas Raoni Soares Silva
http://www.jsfromhell.com