mmm... :master:
...ricapitolando in maniera sistematica e ordinata (anche se ormai l'argomento della discussione è cambiato):
in popup.html ho questo codice:
codice:
<html><head>
<script type="text/javascript" language="JavaScript">
<!--
function creaPop() {
Poppizzami = window.open('miofile.htm','miofile', 'toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=800,height=600')
Poppizzami.document.getElementById('idlivello').innerHTML="testo: "+document.mytextarea.testo.value;
Poppizzami.document.write("testo: ");
Poppizzami.document.write("" + document.mytextarea.testo.value + " ");
}
//-->
</script>
</head><body >
<form name="mytextarea">
inserisci testo:
<input length="20" name="testo" size="20" />
<input type="button" value="Genera testo" onClick="creaPop();" />
<input type="reset" name="reset" value="Cancella" />
</form>
</body></html>
allo stesso livello ho miofile.html
codice:
<html><body>
<div id="idlivello"></div>
</body></html>
Se in popup.html scrivo PAROLA nel campo con name="testo" e clicco il tasto Genera testo ottengo la popup vuota di miofile.htm
Se faccio refresh di popup.html e poi clicco di nuovo su Genera testo... allora ecco che nella popup di miofile.htm compare PAROLA
Per provare ecco una VERSIONE ONLINE...
Come si spiega?
Come si risolve?
:master: