I have a function that works only its clunky and I know it could be written better, is their a way to combine the below?
$('#calculateAll').click(function(){        
    if( $('.a').val() === '' ) {
        $('.a').css('border-color','#BE1E2D');
        return false;
    } else if( $('.b').val() === '' ) {
        $('.b').css('border-color','#BE1E2D');
        return false;
    } else if( $('.c').val() === '' ) {
        $('.c').css('border-color','#BE1E2D');
        return false;
    } else if( $('.d').val() === '' ) {
        $('.d').css('border-color','#BE1E2D');
        return false;
    } else ...
 
     
     
     
    