Scusa ma non funziona, allego il codice:
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>
<html>
<head>
<title>Documento senza titolo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
function leggi()
{
var testo = document.frames("pagina").document.getElementById( "testo").value;
//var txt = window.top.window.document.getElementById('pagina' );
//txt.src = "prova.asp";
testo = "333"
}
</script>
</head>
<body>
<table width="100%" height="240" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="240">
<iframe frameborder="0" width="800" height="611" src="pagina2.htm" marginheight="0" marginwidth="0" scrolling="yes" name="pagina" id="pagina" allowtransparency="yes"></iframe></td>
</tr>
</table>
<input type="button" name="Submit" value="Pulsante" onClick="leggi()">
</p>
</body>
</html>

Rispondi quotando