mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-05-14 20:28:25 -04:00
ALPHA 3.0.2a
This commit is contained in:
+29
@@ -0,0 +1,29 @@
|
||||
function checkPassword() {
|
||||
var psw = document.getElementById("psw");
|
||||
var pswc = document.getElementById("pswc");
|
||||
var psw_alert = document.getElementById("psw_alert");
|
||||
var submit = document.getElementById("submit");
|
||||
|
||||
if (psw.value == pswc.value) {
|
||||
psw_alert.style.display = "none";
|
||||
submit.removeAttribute("disabled");
|
||||
} else {
|
||||
psw_alert.style.display = "block";
|
||||
submit.setAttribute("disabled", "disabled");
|
||||
}
|
||||
}
|
||||
|
||||
function checkEmail() {
|
||||
var email = document.getElementById("email");
|
||||
var emailc = document.getElementById("emailc");
|
||||
var email_alert = document.getElementById("email_alert");
|
||||
var submit = document.getElementById("submit");
|
||||
|
||||
if (email.value == emailc.value) {
|
||||
email_alert.style.display = "none";
|
||||
submit.removeAttribute("disabled");
|
||||
} else {
|
||||
email_alert.style.display = "block";
|
||||
submit.setAttribute("disabled", "disabled");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user