jquery restricting numbers greater than required
<p>Need to restrict typing more than 20 numbers in a text box in jquery.
How to implement it.</p>

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

<pre><code>&lt;table&gt;
    &lt;tr&gt;
        &lt;td&gt;
            &lt;h:inputText id="Actualcard" styleClass="input-text-bx"&gt;&lt;/h:inputText&gt;
        &lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;
</code></pre>
