I'm somewhat new to jQuery/javascript, and would like to compare the contents of row[i]
in a table body with row[i+1]
.
Is this something I can do with jQuery or should I just use plain old JS and getElementByid
and then loop that way? using the .each
doesn't appear to give anyway of accessing the next element in the series easily.
I assume if/when I find a solution to this, I then need to figure out how to compare row[i].td[j]
to row[i+1].td[j]
.
I imagine this is simple, but my searches so far have come up with null.