function isAlphaNumeric(valueToTest)
{
var myRegxp = /^[\w ]+$/;
if(myRegxp.test(valueToTest) == 1)
{
return true;
}
else
{
return false;
}
}

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.