title: jQuery Validation plugin rule to check textbox value is equal to some text
body: <p>I have a text box and I want to check whether the user entered value is equal to "Jhon" or some name. I tried with EqualTo validation rule but it doesnt work.</p>
  
  <pre><code>$('#home').validate({
          rules: {            
            name: {
              required: true,
              equalTo: 'Jhon'
            },
  
             highlight: function(element) {
          $(element).closest('.control-group').removeClass('success').addClass('error');
            },
            success: function(element) {
              element
              .text('OK!').addClass('valid')
              .closest('.control-group').removeClass('error').addClass('success');
              }
        });
  
  });
  </code></pre>