Está en la página 1de 1

Funciones javascript

if (f.nombre.value.length < 3) {

alert("Escriba por lo menos 3 caracteres en el campo "Nombre".");

f.nombre.focus();

return (false);

if (f.Apellido.value.length < 3) {

alert("Escriba por lo menos 3 caracteres en el campo "Apellido".");

f.nombre.focus();

return (false);

if (f.dirCorreo.value.indexOf("@")==-1){

alert("Su dirección de correo es invalida, no tiene @!");return false;

indice = document.getElementById("opciones").selectedIndex;

if( indice == null || indice == - ) {

return false;

También podría gustarte