I am trying to add a validation rule for jQuery validate
$validator.addMethod('footer-email', function (value) {
  if (value == ''){
    return true;
  }
}, '');
Where footer-email is class selector. Is there a way I can use a ID selector instead? 
 
     
    