![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
07/10/2004, 09:28
|
![Avatar de KarlanKas](http://static.forosdelweb.com/customavatars/avatar11549_2.gif) | Moderador extraterrestre | | Fecha de Ingreso: diciembre-2001 Ubicación: Madrid
Mensajes: 6.987
Antigüedad: 23 años, 1 mes Puntos: 61 | |
Prueba con esto: Código HTML:
<html>
<head>
<script>
function mandar(){
texto=document["pepe"]["pepepe"].value;
ventana=window.open("about:blank","ventana","width=500,height=300");
ventana.document.open();
ventana.document.write("<html><head><title>El text area dice:</title></head><body>");
ventana.document.write(texto);
ventana.document.write("</body></html>");
}
</script>
<title>Untitled</title>
</head>
<body>
<form name="pepe" action="javascript:mandar()">
<textarea name="pepepe"></textarea>
<input type="submit">
</form>
</body>
</html> Espero que te sirva!!
__________________ Cómo escribir
No hay pregunta tonta, sino tonto que quiere seguir en la ignorancia. |