How can write jquery code that input just accept number. if was something except number typed does not allow(mean if user type word typed stop, field just accept number no word). How is it without use plugin?
<input type="text" name="passport_number" class="number">
quick and dirty:
demo:
http://jsfiddle.net/Q9zrw/1/
different approach: