var reg = /^[u4E00-u9FA5] $/; // Verify Chinese
var cp=$("input[name='cpid']").val();
for(var i=0;ivar cpp =cp.charAt(i);
if(!reg.test(cpp)||cpp.match(/^([A-Z]) $/)||cpp.match(/^d $/)){ //Verify uppercase letters, numbers and Chinese
document.getElementById("div2").style.display="block";
document.getElementById("div2").style.color="red";
$("#div2").text("*Must enter all lowercase letters!!!");
// return false;
}