2024-06-28 03:08:43
function aa() {
var loginpsw = document.getElementById("passWord").value;
var regExp = /(<|>|;|&|#|"|')/gi;
if (regExp.test(loginpsw)) {
document.getElementById("pswmsg").innerHTML = "\t<font color='red'>禁止输入特殊字符</font>";
return false;
}
else {
document.getElementById("pswmsg").innerHTML = "";
}