i have two files ff.php en em.php . ff.php opens in popup em.php both i like the value of email in ff.php to be in em.php in the popup window.
How must i do that?
ff.php
<HTML>
<HEAD>
<TITLE> </TITLE>
<script language="javascript" type="text/javascript">
var win=null;
function NewWindow(mypage)
{
LeftPosition=(screen.width)?(screen.width-320)/2:100;TopPosition=(screen.height)?(screen.height-500)/2:
100;
settings='width=320,height=500,top='+TopPosition+',left='+LeftPosition+',scrollbars=yes,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
win=window.open(mypage,0, settings);
}
</script>
</HEAD>
<BODY>
<form method="post" onsubmit="NewWindow(this.action);return false" action="em.php">
<table cellspacing="0" cellpadding="5" border="0" >
<tr>
<td>
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td colspan=2><b>Nieuwsbrief:</b></td><td>
</td>
</tr>
<tr>
<td>
<input type="text" name="email" size='23' value="uw email adres" onfocus="if(this.value=='uw email adres') this.value='';" onblur="if(!this.value) this.value='uw email adres';"size='23' style="background:#F1F1F1; border:1 #333333 solid; font-size:9px; color:#111111">
</td>
<td>
<input type="submit" border="0" name="login" value="yes">
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</BODY>
</HTML>
em.php
<HTML>
<HEAD>
<TITLE> </TITLE>
</HEAD>
<BODY>
<?
echo $email;
?>
</BODY>
</HTML>
an example you can find on http://evilkalah.xelux.be/ff.php