[jQuery] Travel a Table filtered by checked Checkboxes

[jQuery] Travel a Table filtered by checked Checkboxes


Hi folks,
I have a problem, with the following scenario. Given is a Table like
the following
<table>
<thead>...</thead>
<tbody>
<tr>
<td><input type="checkbox"></td><td>ReferenceNumber</td> <...more
tds>
</tr>
</tbody>
</table>
A Submit Button is calling a function that should check the table for
checked checkboxes and call
a webservice with each reference number.
The following JQuery Snippet finds all checked checkboxes, but
afterwards I am stucked.
$(TableID)
.find('td')
.find('input:checkbox:checked').each(
function(intIndex)
{
alert(intIndex);
}
);
I also tried the following, but without luck.
$(tableID)
.find("td")
.filter("input:checkbox:checked)
.each(
function(intIndex)
{
alert( $(this).next().text() );
}
);
Does anyone has a hint on how to solving that problem?
best regards,
Gordon