Here's what i using now:
<input type="button"
onClick="window.opener.document.location.href='parent.cfm?id=document.forms.myform.resid.value'"
value="Submit">


but it is not passing the value into the url. Please help.



On 10/26/06, Ken <[EMAIL PROTECTED]> wrote:
> Ok. What i want to do is this:
>
> From the popup window, on submit I want to pass the value of a field
> to the parent window, then close the pop-up.
>
> I hope the above clears any doubts about what i need.
>
> On 10/26/06, Coldfusion <[EMAIL PROTECTED]> wrote:
> > Try something like this: (did not test it)
> >
> > <form target="_parent" onSubmit="SubmitMyForm()">
> >
> > <script type="javascript">
> > SubmitMyForm(){
> >         document.forms[0].submit();
> >         self.close();
> > }
> > </script>
> >
> >
> >
> > -----Original Message-----
> > From: Ken [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, October 26, 2006 10:11 AM
> > To: CF-Talk
> > Subject: form target
> >
> > Sorry guys. I think I missed my morning coffee. I'll just re-phrase my
> > question. Please ignore previous post. Here goes:
> > My page opens a pop-up window (a cfm page). From there I want to submit a
> > form to the first page, the base window, and once that is done, I want to
> > close the pop-up.
> > Please help.
> >
> > Thanks,
> > K
> >
> >
> >
> > 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258113
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to