Ver Mensaje Individual
  #11 (permalink)  
Antiguo 21/03/2012, 22:11
Avatar de haggenx
haggenx
 
Fecha de Ingreso: febrero-2007
Ubicación: México
Mensajes: 823
Antigüedad: 17 años, 2 meses
Puntos: 24
Pregunta Respuesta: Puedo hacer un submit de formulario mediante post usando antes un script d

y no te funciona?

Código:
<script language="JavaScript"> 

function enviar()
{
  document.formulario.submit();
}

</script> 

<form action="email.php" method="post" id="formulario"> 
<input type="text" name="campo"> 
<input type="button" value="Enviar" onClick="javascript:enviar();"> 
</form>