请教高手 test是什么意思了?
function checkemail(){var email = document.getElementById("email").value;
var rr = /^[a-zA-Z0-9_\.]+@([0-9A-Za-z][0-9A-Za-z-]+\.)+[A-Za-z]{2,5}$/;
if(rr.test(email)){
document.getElementById("email_info").innerHTML = "";
} else{
document.getElementById("email_info").innerHTML = "<font color=\"red\">Email 格式错误!</font>";
}
}
</script>