Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Submit Form


Message #1 by "Edwin López" <elopez@u...> on Thu, 13 Dec 2001 01:07:59
YES, IT WORKED! HIGHLY THANKFUL.
Edwin


> Hi Edwin,
> 
> In the past I have created a hidden form in the opener & stuffed the data
> into this from the pop-up when the
> pop-up form is submitted, then submitted the opener form, e.g.:
> 
> <input type button value='Submit' onclick='SubmitOpener();'>
> 
> function SubmitOpener(){
> 
> window.opener.document.forms["openerform"].somefield.value=document.forms
["p
> opupform"].value;
>     ...
>     ...
>     window.opener.document.forms["openerform"].submit();
>     window.close();
> }
> 
> HTH,
> 
> Chris
> 
> ----- Original Message -----
> From: "Edwin Lpez" <elopez@u...>
> To: "javascript" <javascript@p...>
> Sent: Thursday, December 13, 2001 1:07 AM
> Subject: [javascript] Submit Form
> 
> 
> > Hi,
> > I have a page which opens a pop-up window. In this pop-up window there 
is
> > a form which I need to be posted to the opener window, and not a new
> > window. Can you shed me some light on how to do this?
> >
> > Thank you,
> > Edwin
> $subst('Email.Unsub').
> >
> 

  Return to Index