/* 
 * Script für die Anwendung
 */




@@ -29,11 +29,837 @@
 ung%0A */%0A
+$(document).ready(function () %7B%0A    var password = document.getElementById(%22password%22), passwordwdh = document.getElementById(%22passwordwdh%22);%0A%0A    function validatePassword() %7B%0A        if (password.value != passwordwdh.value) %7B%0A            passwordwdh.setCustomValidity(%22Die Passw%C3%B6rter stimmen nicht %C3%BCberein!%22);%0A        %7D else %7B%0A            passwordwdh.setCustomValidity('');%0A        %7D%0A    %7D%0A%0A    password.onchange = validatePassword;%0A    passwordwdh.onkeyup = validatePassword;%0A%0A    var email = document.getElementById(%22email%22);%0A%0A    function validateEmail() %7B%0A        if (email.value.length %3E= 5 && email.value.includes(%22@%22) && email.value.includes(%22.%22)) %7B%0A            email.setCustomValidity('');%0A        %7D else %7B%0A            email.setCustomValidity(%22Email falsch%22);%0A        %7D%0A    %7D%0A%0A    email.onchange = validateEmail;%0A%7D);
 %0A%0A%0A

insert script JS file for validation