Ver Mensaje Individual
  #2 (permalink)  
Antiguo 05/08/2011, 16:07
Avatar de skiper0125
skiper0125
 
Fecha de Ingreso: octubre-2010
Ubicación: $this->Mexico('Toluca');
Mensajes: 1.127
Antigüedad: 13 años, 7 meses
Puntos: 511
Respuesta: Iframe + botón + caja de texto + links

Hola que tal.

Te dejo este ejemplo pero no tiene que ver con javascript.

Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  4. <title>Documento sin título</title>
  5. </head>
  6.  
  7. <form id="form1" name="form1" method="post" action="1.php" target="ventana">
  8.   direccion
  9.   <label>
  10.     <input type="text" name="pag" id="pag" />
  11.   </label>
  12.   <label>
  13.     <input type="submit" name="button" id="button" value="Enviar" />
  14.   </label>
  15. </form>
  16. <br />
  17. <iframe width="100%" height="500" name="ventana" id="ventana" src="http://<?php echo $_POST['pag']; ?> "></iframe>
  18.  
  19. </body>
  20. </html>

Nota 1.php es el nombre original de la página

Saludos
__________________
Recuerda que estamos aquí para orientarte, y no para hacer tu trabajo.
Si mi aporte fue de ayuda, recuerda que agradecer no cuesta nada +1

Skiper0125