title: how to validate textbox in jquery without using alertbox?
body: <p>In this, the textbox must allow strings only.
  But without using alert box how to validate a text box in jquery.
  Can anyone explain to me? And how to validate a number in jquery.</p>
  
  <pre><code>$(function () {
      $("#register-form").validate({
          rules: {
              Title: "required",
              lan: "required",
              Lati: "required"
          },
          messages: {
              Title: "Please enter your Country name",
              lan: "please enter longitude vale",
              Lati: "Please enter lattitude value",
          },
          submitHandler: function (form) {
              form.submit();
          }
      });
  });
  </code></pre>
  
  <h1> </h1>
  
  <pre><code>&lt;form action="insert.php" method="post" id="register-form"&gt;
      &lt;table align="center"&gt;
          &lt;tr&gt;
              &lt;td class="label"&gt;Title&lt;/td&gt;
              &lt;td&gt;
                  &lt;input type="text" size="50" name="Title" id="Title" class="as_input" /&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td class="label"&gt;Lan&lt;/td&gt;
              &lt;td&gt;
                  &lt;input type="text" size="50" name="lan" id="Lan" class="as_input" /&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td class="label"&gt;Lat&lt;/td&gt;
              &lt;td&gt;
                  &lt;input type="text" size="50" name="Lati" id="Lati" class="as_input" /&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr align="center"&gt;
              &lt;td colspan="2"&gt;
                  &lt;input type="submit" value="Submit" /&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
      &lt;/table&gt;
  &lt;/form&gt;
  </code></pre>