using this:
PHP Code:
$('tr input.blacklist').click(function() {
var indenticalIP = $(this).parent().parent().find('td').eq(1).html();
$('tr').each(function(){
if($(this).children('td').eq(1).html() == indenticalIP)
$(this).css('background','#96d');
});
});
in a table like this:
Code:
<table>
<tr><td>stuff</td><td>1.1.1.1.1</td><td><input type="radio" class="blacklist" name="a1"></td></tr>
<tr><td>stuff</td><td>0.1.0.1.0</td><td><input type="radio" class="blacklist" name="a2"></td></tr>
<tr><td>stuff</td><td>1.1.1.1.1</td><td><input type="radio" class="blacklist" name="a3"></td></tr>
</table>
upon selecting the radio, grab the content of the second field. Then loop through all rows and all cells in that row. If any of the cells have the same content of the one clicked, it will then turn the row purple.
have fun.