<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2722.900" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I'm trying to create a form that opens a popup and 
then&nbsp;transfers&nbsp;the value entered in a popup form, back to the form 
that opened the popup.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I get the error message:</FONT></DIV>
<DIV><FONT face=Arial size=2>Error: 'document.forms.0.input' is null or not an 
object<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Any help would be appreciated.&nbsp; Here is my 
code:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>THE SIMPLE "MAIN" FORM</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&lt;html&gt;<BR>&lt;head&gt;<BR>&lt;title&gt;Simple 
Form&lt;/title&gt;<BR>&lt;/head&gt;<BR>&lt;body&gt;<BR>&lt;script 
language="JavaScript"&gt;<BR>&lt;!--<BR>function windowOpen() 
{<BR>&nbsp;&nbsp;&nbsp; var 
myWindow=window.open('popup.htm','windowRef','width=200,height=200');<BR>&nbsp;&nbsp;&nbsp; 
if (!myWindow.opener) myWindow.opener = 
self;<BR>}<BR>//--&gt;&lt;/script&gt;<BR>&lt;input name="openPopup" 
type="button" id="openPopup" onClick="Javascript:windowOpen();" value="Get 
Value" /&gt;<BR>&lt;form name="form1" id="form1" method="post" 
action=""&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;input type="text" value="" 
name="output"&gt;&lt;/input&gt;<BR>&lt;/form&gt;<BR>&lt;/body&gt;<BR>&lt;/html&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>THE POPUP FORM (popup.htm)</FONT></DIV>
<DIV><FONT face=Arial size=2>&lt;html&gt;<BR>&lt;head&gt;<BR>&lt;title&gt;The 
Popup&lt;/title&gt;<BR>&lt;meta http-equiv="Content-Type" content="text/html; 
charset=iso-8859-1" /&gt;<BR>&lt;/head&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&lt;body&gt;<BR>&lt;script 
language="JavaScript"&gt;&lt;!--<BR>function updateOpener() 
{<BR>&nbsp;&nbsp;&nbsp; window.opener.document.forms[0].output.value = 
document.forms[0].input.value;<BR>&nbsp;&nbsp;&nbsp; 
window.close();&nbsp;&nbsp;&nbsp; 
<BR>}<BR>//--&gt;<BR>&lt;/script&gt;<BR>EventId: <BR>&lt;input type="text" 
name="input"&gt;&lt;/input&gt;<BR>&lt;input name="Close" type="submit" 
id="Close" onClick="Javascript:updateOpener()" 
value="Close"&gt;&lt;/input&gt;<BR>&lt;/body&gt;<BR>&lt;/html&gt;<BR></DIV>
<DIV><BR></DIV></FONT></BODY></HTML>