Which mouseover handler is better?
Yours is simpler and therefore better.  However, I would simplify it further as:

$('.success').on('mouseover', function() {
    $(this).removeClass('success').addClass('delete');
});


Is shouldn't matter much whether you call .addClass() first or .removeClass() first.