I have a table
<table>
<tr class="PO1"></tr>
<tr class="PO2"></tr>
<tr class="PO3"></tr>
</table>
How can I loop through all tr with class "PO1" and get the value of each 'td' value?
$("table#id tr .PO1").each(function(i)
{
// how to get the td values??
});
This would just create an array with the text contents from each
td. Probably a better idea to use a map/object instead: