Problem in the jQuery validation

All of items (.result_username, .result_password ,.result_capcher) are show step by step, after every click on submit .
To display en masse (all: .result_username, .result_password ,.result_capcher) I do?

It is a jQuery validation:

$("#login_submit").click(function () {
         event.preventDefault();
         var username = $("#input_username").val();
         var password = $("#input_password").val();
         var capcher = $("#input_code").val();
            if(!username){
            $('.result_username').html('<div class="not_ok"></div>'); 
         }
         else if(!password){
            $('.result_password').html('<div class="not_ok"></div>'); 
         }
         else if(!capcher){
            $('.result_capcher').html('<div class="not_ok"></div>'); 
         }
    });

sorry I don’t understand your question

Remove the else on the second and third ifs, so you just get if, if, if instead of if, else if, else if