title: Required field validators in jquery
body: <p>I want to give validation in my form fields..</p>
  
  <p><strong>Fields:</strong></p>
  
  <ol>
  <li><p><em><strong>Name (textbox)</em></strong> --> Should enter the value. When without enter &amp; come out it will show error message.</p></li>
  <li><p><em><strong>Email(regex)</em></strong> -->checking the mail format</p></li>
  <li><p><em><strong>Gender(radio button)</em></strong> -->any one radio button should selected</p></li>
  <li><p><em><strong>Location(dropdown)</em></strong> --> without enter dropdown will show error message</p></li>
  <li><p><em><strong>Mobile Number(textbox)</em></strong> --> enter only numbers</p></li>
  </ol>
  
  <p>The above all types of validation I need. </p>
  
  <pre><code>$('#Email').click(function(){
              var name=$('#Name').val();
              if(name==""){
                  $('#Name').after('&lt;div class="red"&gt;Name is Required&lt;/div&gt;');
  
              }
              });
  </code></pre>
  
  <p>But whenever i click email box it shows error message.How to do it? Please Help me? I tried 1 st field <strong>Name</strong></p>