CoboCards App FAQ & Wishes Feedback
Language: English Language
Sign up for free  Login

This flashcard is just one of a free flashcard set. See all flashcards!

All main topics / Interaktive Medien (INTMED) / AJAX / AJAX HS14
26
Aufgabe: Erstelle function checkEmail() {..................}
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);
      }
}
New comment
Flashcard info:
Author: Karin Zeller
Main topic: Interaktive Medien (INTMED)
Topic: AJAX
School / Univ.: HTW Chur
City: Chur
Published: 21.01.2015

Cancel
Email

Password

Login    

Forgot password?
Deutsch  English