Ver Mensaje Individual
  #11 (permalink)  
Antiguo 13/12/2010, 08:53
Avatar de IsaBelM
IsaBelM
Colaborador
 
Fecha de Ingreso: junio-2008
Mensajes: 5.032
Antigüedad: 16 años, 7 meses
Puntos: 1012
Respuesta: Onsubmit y archivo

tomando tu primer código como referencia
Cita:
<form action="newlist1.php" method="post" enctype="multipart/form-data" name="formnewlist1" onsubmit="return fnc(this);" >
<input type="text" value="" name="c" id="c" />
<input type="submit" name="submitbutton" value="SEND" />

function fnc(f) {
valor = f.c.value;
if (valor == "") return false;
}