How can I get this code to return just the one false alert, since it contains a number when I'm checking that what's in the string "name" should all be lowercase alphas?
var name = "Bob1";
var i = 0;
var name = name.toLowerCase()
for(i=0; i<name.length; i++){
if((name.charCodeAt(i)>96) && (name.charCodeAt(i)<123)) {
alert("true");
} else {alert("false");}
}