how to prevent user from typing any non-numbers in the input field in real time using jquery?
<p>yes, as my question says..how to prevent the user from typing non-numeric characters in the input field? ..like e.g when they attempt to type alphabets or special characters, the cursor won't move at all inside the input field ?</p>

<pre><code>&lt;input id="1stfield" name="1stfield" value="" readonly/&gt;
</code></pre>
