Validate input text on keyup with jQuery

Want to validate an input excluding special characters?

It’s unbelievably easy with JavaScript, well actually this example is done with jQuery.

The code below will remove the non-valid characters as you type them. Alternatively you could prompt an alert message on the callback function (right now returns nothing).

View Demo

One comment

Leave a Reply

Add <code> Some Code </code> by using this tags.

*
*