Copiar código del código de la siguiente manera:
Comprobaciones de funciones (t) {
szmsg = "[#_%& '/", :: =!^] ";
alertStr = "";
para (i = 1; i <szmsg.length+1; i ++) {
if (t.indexof (szmsg.substring (i-1, i))>-1) {{
alertStr = "No incluya caracteres ilegales como [#_%& '/",;: =!^] "
Romper;
}
}
if (alertStr! = "") {{
alerta (alerta);
Devolver falso;
}
Devolver verdadero;
}