
01/10/2010, 09:33
|
| | Fecha de Ingreso: mayo-2010
Mensajes: 93
Antigüedad: 14 años, 10 meses Puntos: 3 | |
Respuesta: Funciones dentro de una funcion javascript function Enviar()
{
function nombre()
{
if(document.contacto.nombre.value.length==0)
{
alert("Ingrese su nombre")
}
else
{
if(document.contacto.apellido.value.length==0)
{
alert("Ingrese su apellido")
}
}
}
}
... y asi con otras funciones..
<input type="button" name="txtEnviar" value="Enviar" onclick=Enviar()> |