2021-09-09 23:55:45 +02:00
|
|
|
window.addEventListener("load", function () {
|
|
|
|
let passwd = this.document.getElementById("passwd");
|
|
|
|
let passwd_conf = this.document.getElementById("conf_passwd");
|
|
|
|
|
|
|
|
passwd_conf.addEventListener("change", function(){
|
|
|
|
this.style.border += "red";
|
|
|
|
let error = document.getElementById("error");
|
|
|
|
error.style.display = "block";
|
|
|
|
});
|
|
|
|
});
|