we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "how to check condition multiple input value in jquery"
Hanna
16 Apr 2017
1$('#Rusername, #Remail, #Rpassword, #Rpassword2').each(function() {
2  if ($(this).val() == '') {
3    $(this).parent().effect('shake', {times: 3}, 50).find('.verdiv').addClass('error');
4  }
5});