
function string () {}
pText = new string()
pZahl = new string()
pText = function (wort) {
var zeichen = "abcdefghijklmnopqrstuvwxyzäöüß- ";
ist_text = true;
pruef_text = wort.toLowerCase();
if (pruef_text==undefined)
ist_text = false;
else
for (n=0; n<pruef_text.length; n++) {
if (zeichen.indexOf(pruef_text.charAt(n)) == -1)
ist_text = false;
}
if (ist_text)
ausgabe = "Alles Okay";
else
ausgabe = "Fehlerhafte Eingabe";
}
pZahl = function (wort) {
ist_zahl=true;
if(wort==undefined)
ist_zahl=false;
else
for(n=0;n<wort.length;n++) {
if(wort.charAt(n)<"0"||wort.charAt(n)>"9")
ist_zahl=false;
}
if(ist_zahl)
ausgabe = "Alles Okay";
else
ausgabe = "Fehlerhafte Eingabe";
}
Privacidad ּ Publicidad ּ Prensa ּ Premios ּ Colaborar ּ Enlazarnos ּ Mapa del Sitio ּ Aviso legal ּ Boletín ּ Contacto
2001 - 2011 | Sitio creado y mantenido por Gabriel Marcelo Rodríguez
Hosting de alta calidad a bajo costo Neolo.com.ar