Ver Mensaje Individual
  #6 (permalink)  
Antiguo 18/03/2009, 04:01
Avatar de karlic0s
karlic0s
 
Fecha de Ingreso: abril-2007
Ubicación: Cartagena (Murcia)
Mensajes: 241
Antigüedad: 17 años
Puntos: 18
Respuesta: Guardar variables de un formulario

Edito: he hecho algo así, pero no funciona, aquí pongo el código:

Código PHP:
//form ajax:
<form name="form_mapa" action="#" onsubmit=" showAddress(this.address.value, this.zoom.value=parseFloat(this.zoom.value)); return false">

<
input id="t3" type=text name="t3" />

</
form>


<
script type="text/javascript">

    var 
myTextField1 document.getElementById('t3');

}
</script>

//form php:
<FORM ACTION="procesa.php" method="post">


      <input type="hidden" name="titulo" maxlength="20" value="document.write(myTextField1.value)" /><br><br>

   
      <input type="submit" value="Publicar"><br><br>
      </form> 

Última edición por karlic0s; 18/03/2009 a las 04:37