Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

allow only numerics and few alphabets in input type js

function allowAlphaNumericSpace(thisInput) {
  thisInput.value = thisInput.value.split(/[^AN0-9/]/).join('');
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #numerics #alphabets #input #type #js
ADD COMMENT
Topic
Name
3+7 =