[Solved] how to check serialize data is empty on submit button’s click

[ad_1]

You can check every input by using each on all input fields

$(form).find('input').each(function(index, elem){
   if($(elem).val().length == 0){
       //this field is empty
   }
});

[ad_2]

solved how to check serialize data is empty on submit button’s click