prova questo esempio
pagina textarea (a.html)
codice:
<html>
<head>
<title>a.html</title>
</head>
<body>
<textarea id="mytextarea">
titolo
testo testo testo</p>
</textarea>
<input type="button" value="apri" onclick="window.open('b.html','','');">
</body>
</html>
Popup (b.html)
codice:
<html>
<head>
<script>
function leggitextarea() {
document.getElementById('testo').innerHTML = window.opener.document.getElementById('mytextarea').value;
}
</script>
</head>
<body onload="leggitextarea()">
<div id="testo">
</div>
</body>
</html>
apri la pagina a.html e clicca sul bottone. La pagina che si apre contiene il testo che volevi
Ciao