This flashcard is just one of a free flashcard set. See all flashcards!
27
wie lautet die Check-Email Funktion?
function checkEmail ( ) {
request = createRequest ( ) ;
if (request == null)
alert("unable to create request");
else {
var email = document.getElementById("email").value;
var val = escape(email);
var url = "php/validate.php?tape=email&val=" + val +
"&label=email";
request.open("GET", url, true);
request.onreadystatechange = updateEmailStatus;
request.send(null);
}
}
request = createRequest ( ) ;
if (request == null)
alert("unable to create request");
else {
var email = document.getElementById("email").value;
var val = escape(email);
var url = "php/validate.php?tape=email&val=" + val +
"&label=email";
request.open("GET", url, true);
request.onreadystatechange = updateEmailStatus;
request.send(null);
}
}
Flashcard info:
Author: Leoni
Main topic: Ajax
Topic: Interessengruppen
School / Univ.: HTW
City: Chur
Published: 19.01.2015