Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rajvanshipradeep15/ac929cd5430276d4bb034711b7348e82 to your computer and use it in GitHub Desktop.
Save rajvanshipradeep15/ac929cd5430276d4bb034711b7348e82 to your computer and use it in GitHub Desktop.
Only Alphabets in input field allowed
$('.signature_field').bind('keyup blur',function(){
var node = $(this);
node.val( node.val().replace(/[^a-z]/g,'') );
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment