N
.Net Sports
I am checking for text input on a form validation in javascript that
required at least one numeric character along with any number of alpha
characters for a given input text box. The below is a var declare that
does a method to check for alpha, or numeric, or - _ characters
var charpos = objValue.value.search("[^A-Za-z0-9\-_]");
but doing:
var charpos = objValue.value.search("[^A-Za-z0-9]");
....doesnt work.
????
netsports
required at least one numeric character along with any number of alpha
characters for a given input text box. The below is a var declare that
does a method to check for alpha, or numeric, or - _ characters
var charpos = objValue.value.search("[^A-Za-z0-9\-_]");
but doing:
var charpos = objValue.value.search("[^A-Za-z0-9]");
....doesnt work.
????
netsports