S
Samir
1. Here is a form on the first page
<form method="POST" name="originalwindow" name="form1">
<p><input type="text" name="T1" size="20"></p>
<p><input type="button" value="Submit" name="B1" onclick="This event opens
the new window"><input type="reset" value="Reset" name="B2"></p>
</form>
2. When you click the submit it opens a new window with this form
<form method="POST" name="openwindowform" name="form2">
<p><input type="text" name="T1" size="20"></p>
<p><input type="button" value="Submit" name="B1"
onclick="savenow()"><input type="reset" value="Reset" name="B2"></p>
</form>
<script language="javascript">
fucntion savenow(){
window.opener.form1.T1.value = form2.T1.value
form.submit()
}
</script>
3. is this correct at all???
<form method="POST" name="originalwindow" name="form1">
<p><input type="text" name="T1" size="20"></p>
<p><input type="button" value="Submit" name="B1" onclick="This event opens
the new window"><input type="reset" value="Reset" name="B2"></p>
</form>
2. When you click the submit it opens a new window with this form
<form method="POST" name="openwindowform" name="form2">
<p><input type="text" name="T1" size="20"></p>
<p><input type="button" value="Submit" name="B1"
onclick="savenow()"><input type="reset" value="Reset" name="B2"></p>
</form>
<script language="javascript">
fucntion savenow(){
window.opener.form1.T1.value = form2.T1.value
form.submit()
}
</script>
3. is this correct at all???