Ver Mensaje Individual
  #5 (permalink)  
Antiguo 01/06/2015, 14:09
Avatar de emilio_viguri
emilio_viguri
 
Fecha de Ingreso: junio-2011
Ubicación: Mexico
Mensajes: 117
Antigüedad: 12 años, 11 meses
Puntos: 3
Respuesta: Varios datos por GET para un iFrame

Ya intente con este forma de funcion pero de plano el javascript no es lo mio una ayudad ita por favor...

Código HTML:
Ver original
  1.     function creaGETurl(){
  2.         var calle = document.getElementById('calle').value;
  3.         var colonia = document.getElementById('coloia').value;
  4.         var municipio = document.getElementById('municipio').value;
  5.         var ciudad = document.getElementById('ciudad').value;
  6.         var cp = document.getElementById('cp').value;
  7.        
  8.         document.getElementById("iFrame").src = "borrar.php?calle=" + calle + "&colonia=" + colonia + "&municipio=" + municipio + "&ciudad=" + ciudad + "&cp=" + cp;
  9.     }
  10. </head>
  11.  
  12.  
  13. <form action="" method="post" name="form1" id="form1">
  14.   Calle
  15.     <input name="calle" type="text" id="calle" onKeyUp="creaGETurl()" />
  16.   Colonia
  17.   <input type="text" name="colonia" id="colonia" />
  18.   Municipio
  19.   <input type="text" name="municipio" id="municipio" />
  20.   Ciudad
  21.   <input type="text" name="ciudad" id="ciudad" />
  22.   Cp
  23.   <input name="cp" type="text" id="cp" />
  24. </form>
  25.  
  26. <iframe id="iFrame" align="bottom" scrolling="auto" src="about:blank" frameborder="1" width="95%" height="250">&nbsp;</iframe>
  27. </body>
  28. </html>