超简单的js题
题目
Write up
自己的解法
function checkSubmit() {
var a = document.getElementById("password");
if ("undefined" != typeof a) {
if ("89ba9e2016d70d356b7d55c42e0a7e91" == a.value) return ! 0;
alert("Error");
a.focus();
return ! 1
}
}
document.getElementById("levelQuest").onsubmit = checkSubmit;Last updated