Ver Mensaje Individual
  #3 (permalink)  
Antiguo 12/07/2008, 02:08
Avatar de adex
adex
 
Fecha de Ingreso: marzo-2002
Ubicación: Lima, Perú, América Latina
Mensajes: 445
Antigüedad: 22 años, 1 mes
Puntos: 0
Respuesta: Validar campos input (text, file)

Gracias Caricatos por responder pero no he logrado adaptar tus indicaciones al código, modifique esta línea:

Código HTML:
<form method="Post" name="forma" onsubmit="return(valida(this) && comprueba_extension(this))" enctype="multipart/form-data"> 

Código HTML:
<input style="color:red" value="  < subir archivo >  " type="submit"> 
y cambiando el botón por el submit y sigue sin funcionar seguro estoy haciendo alguna torpeza, gracias nuevamente.