Hallo Martina
<HTML>
<HEAD>
<SCRIPT language="JavaScript">
function test() {
if (document.Formular.Eingabe.value=="Peter") {
alert("Hallo Peter");
} else
if (document.Formular.Eingabe.value=="Paul") {
alert("Hallo Paule; wie gehts?");
} else
if (document.Formular.Eingabe.value=="Michael") {
alert("Hi Michael! Du kannst aber tolle Scripts schreiben :-)");
} else // sonst halt ne weiterleitung
window.location.href="http://www.yahoo.de";
}
</SCRIPT>
</HEAD>
<BODY>
<FORM name="Formular">
Dein Name: <input max=20 length=20 name="Eingabe">
<input type="button" value=" OK " onClick="test()">
</FORM>
</BODY>
</HTML>
Ein solches Script zum Beispiel?
Gruß
Michael