Force an input to be numeric with jQuery

/ Published in: JavaScript
Save to your folder(s)

This tiny jQuery plug in forces a user to enter only numeric values on an input field by silently removing non-numeric values as they're entered. (Caution: Never rely on client-side validation; use server-side validation as well)


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.