Hello,
Hab doch das Nötige übernommen. Es funktioniert ja wenn ich anstatt "md5(str)" z.B. "Hallo Welt" einfüge, dann ist der Wert von response "Hallo Wert". Nur die md5 oder MD5 will er nicht.
NEIN hast du NICHT, das versuchen wir dir ja zu sagen. Du hast nur den Aufruf der Funktion MD5 übernommen. Die gibt es aber von Haus aus in JavaScript nicht, deswegen hat sich ja extra jemand die Mühe gemacht den netten Artikel zu schreiben. Da wird die Funktion erst eingeführt. Wenn du sie benutzen willst, dann musst du diesen Code ebenfalls übernehmen.
MfG
Rouven
--
-------------------
Computer programming is tremendous fun. Like music, it is a skill that derives from an unknown blend of innate talent and constant practice. Like drawing, it can be shaped to a variety of ends: commercial, artistic, and pure entertainment. Programmers have a well-deserved reputation for working long hours but are rarely credited with being driven by creative fevers. Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination, but because their imagination reveals worlds that others cannot see. -- Larry OBrien and Bruce Eckel in Thinking in C#
-------------------
Computer programming is tremendous fun. Like music, it is a skill that derives from an unknown blend of innate talent and constant practice. Like drawing, it can be shaped to a variety of ends: commercial, artistic, and pure entertainment. Programmers have a well-deserved reputation for working long hours but are rarely credited with being driven by creative fevers. Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination, but because their imagination reveals worlds that others cannot see. -- Larry OBrien and Bruce Eckel in Thinking in C#