I have a table with multiple rows where one or more rows with have the same source data attribute. I need to loop through all these rows and assign the lowest common denominator belonging to the matching group to each row that matches that specific data source so:
<table>
<tr data-start="1"><td>one</td><td>2014-04-01</td></tr>
<tr data-start="2"><td>two</td><td>2014-11-23</td></tr>
<tr data-start="1"><td>three</td><td>2014-03-13</td></tr>
<tr data-start="3"><td>four</td><td>2014-06-02</td></tr>
<tr data-start="1"><td>five</td><td>2014-03-08</td></tr>
</table>
so in the above table the matches are row 1,3 and 5. and i need to assign the lowest date to all of the matches
Thanks in advance for any help