jquery entering only numbers in text box
<p>Need to restrict entering alphabets and special characters in a textbox using jquery. Need to enter only numbers. 
How to implement using keypress() functionality in jquery for a text box in jsf?.</p>

<p>Code :</p>

<pre><code>      &lt;table&gt;
         &lt;tr&gt;
          &lt;h:inputlabel value="Actual"&gt;&lt;/h:inputlabel&gt;
           &lt;td&gt;
              &lt;h:inputtext id="Actual" styleClass="input-tex" value="#bean.customer"&gt;&lt;/h:inputtext&gt;
            &lt;td&gt;
         &lt;/tr&gt;
       &lt;table&gt;
</code></pre>

<p>Any help is appreciated.</p>
