Use delegation, try this
$('#deleted_companies').on('click', '.company a', function (e) {
alert('This should work.');
});
This is basically saying to look at the #deleted_companies
(which exists at the time your bind is created) for .company a
which doesn't necessarily have to exist before this bind is created for it to work.