View Complete Post
Ok heres the scenario: I have a table with many rows in it. Each row has a checkbox in one cell, and a span in another cell.
What I want to do in my jquery is to go through the table and find each row where the checkbox is checked, and then store the value of the span in an array.
I thought you might be able to do it as a selector rather than using a loop.
I tried this but it didn't work
It doesn't look very much like it would work though, and funnily enough it didn't
So can I do this without using a loop?