📅  最后修改于: 2022-03-11 15:04:23.794000             🧑  作者: Mango
var passwordText = document.getElementById("id").value;
if(passwordText == "hello300") {
return true;
}
else {
alert("Not correct")
return false
}