The id attribute can not be the same for different elements.
Change the selector to call a class instead of id:
<script type="text/javascript">
$(document).ready(function() {
$('.confirm_Group_Delete').click(function(event) {
event.preventDefault();
if (confirm('All loan units grouped to this group will be unlinked. Are you sure you want to DELETE this group?')) {
var url = $(this).attr('href');
$('#content').load(url);
}
else
{
return false;
}
});
});
</script>
And then change your html like this:
<td>
Item 1 <a class="confirm_Group_Delete" href='<?=$_SERVER['PHP_SELF']?>?sec=groups&action=delete&id=<?=$group['id']?>#group'>Delete</a>
Item 2 <a class="confirm_Group_Delete" href='<?=$_SERVER['PHP_SELF']?>?sec=groups&action=delete&id=<?=$group['id']?>#group'>Delete</a>
Item 3 <a class="confirm_Group_Delete" href='<?=$_SERVER['PHP_SELF']?>?sec=groups&action=delete&id=<?=$group['id']?>#group'>Delete</a>
</td>