allow only numerics and few alphabets in input type js
function allowAlphaNumericSpace(thisInput) {
thisInput.value = thisInput.value.split(/[^AN0-9/]/).join('');
}
Are there any code examples left?
New code examples in category Javascript
function allowAlphaNumericSpace(thisInput) {
thisInput.value = thisInput.value.split(/[^AN0-9/]/).join('');
}