The jQuery plugin restricted allows you to restrict alphabetical or numeric characters. It defaults to restricting just special characters and allows alphanumeric input. You can specify restrictions through the data-type attribute on your input.
bower install jquery-restricted