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

Tags:

One Response to “Validate input text on keyup with jQuery”

  1. shiva April 21, 2015 at 12:29 pm #

    Thankx a lot

Leave a Reply

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