home

=Programación Web=

code < script language = "javascript" > function valida(formulario){ if(formulario.campo.value=='ok'){ return true; }else { alert ('valor no valido'); return false; } }  < form name = "ejemplo1" action = "prog.php" method = "post" Onsubmit = "return valida(this)" >

< input type = "text" name = "campo" value = "texto" > < input type = "submit" value = "enviar" >

  

code

=Corporación de Estudios Tecnologicos del Norte del Valle=