hi forum
i have read a lot of articles regarding passing data from popup to parent up but i m looking for the opposite
that is
from parent to popup window
pls help me in this regard
i have three input fields in parent window
and three in popup window
parent.htm
popup.htm
i hope there is a way to do this
smile always:)
anand
i have read a lot of articles regarding passing data from popup to parent up but i m looking for the opposite
that is
from parent to popup window
pls help me in this regard
i have three input fields in parent window
and three in popup window
parent.htm
Code:
<script language="JavaScript">
function newWindow(file,window)
{msgWindow=open(file,window,'scrollbars=yes,resizable=no,width=550,height=400');
if (msgWindow.opener == null) msgWindow.opener = self;
}
</script>
<input type="button" value="Search" onClick="newWindow('popup.htm','window2')">
<form name="inputform1" >
<table><tr><td>Stitching Number
</td>
<td><input type="text" name="txtasno" tabindex="1" size="20">
</td>
<td>Remarks
</td>
<td><input type="text" name="txtremarks" tabindex="5" size="20">
</td>
<td>Sales Person
</td>
<td><input type="text" name="txtsperson" tabindex="6" size="20">
</td>
</tr></table>
</form>
Code:
<form name="outputform1" > <table><tr><td>Stitching Number </td> <td><input type="text" name="txtasno" tabindex="1" size="20"> </td> <td>Remarks </td> <td><input type="text" name="txtremarks" tabindex="5" size="20"> </td> <td>Sales Person </td> <td><input type="text" name="txtsperson" tabindex="6" size="20"> </td> </tr></table> </form>
smile always:)
anand
Comment