1. Here is a form on the first page
<form method="POST" name="originalw indow" 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="openwindo wform" name="form2">
<p><input type="text" name="T1" size="20"></p>
<p><input type="button" value="Submit" name="B1"
onclick="saveno w()"><input type="reset" value="Reset" name="B2"></p>
</form>
<script language="javas cript">
fucntion savenow(){
window.opener.f orm1.T1.value = form2.T1.value
form.submit()
}
</script>
3. is this correct at all???
<form method="POST" name="originalw indow" 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="openwindo wform" name="form2">
<p><input type="text" name="T1" size="20"></p>
<p><input type="button" value="Submit" name="B1"
onclick="saveno w()"><input type="reset" value="Reset" name="B2"></p>
</form>
<script language="javas cript">
fucntion savenow(){
window.opener.f orm1.T1.value = form2.T1.value
form.submit()
}
</script>
3. is this correct at all???
Comment