title: Validation for 10 digit mobile number and focus input field on invalid
body: <p>I need the code for validating email and mobile number in jQuery and also <code>focus()</code> on that particular field where validations are not satisfied. </p>
  
  <p>This is my query</p>
  
  <pre><code>&lt;form name="enquiry_form" method="post" id="enquiry_form"&gt;
  
      Full Name *
      &lt;input class="input-style" name="name"  id="name" type="text" required&gt; 
      Email *
      &lt;input class="input-style" name="email"  id="email" type="email" required&gt;
      Phone * 
      &lt;input name="mobile"  id="mobile" type="number" required&gt;
  
      &lt;input type="submit" value="SUBMIT"  id="enq_submit""&gt;
  
  &lt;/form&gt;
  </code></pre>