Report this | Email | Print
if(number.length == 11){if (number.charAt(0) != '1'){alert("Phone number should start with 1.");return false;}if (number.charAt(1) == '1'){alert("Area code cannot start with a one.");return false;}}
Views - Today : 83 Total : 83