title: How can I allow only gmail.com as domain in my email field validating using jquery-validation plugin?
body: <p>How can I allow only gmail.com as domain in my email field validating using jquery-validation plugin ?</p>
  
  <pre><code>$("#myForm").validate({
  rules: {
      myemail: {
          required: true,
          email: true,
      }
  }
  });
  </code></pre>