🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.golive.windows
Article #37694

Re: quick question: Will having...

#37694
From: Daverj
Date: Fri, 10 May 2002 22:06
7 lines
1457 bytes
Pages can use form fields to gather info and then javascript can pass it to another page without ever having to actually submit the form. When the person clicks a link on the popup page simply call a javascript function in that popup. It can then pass the data to the parent page with: 

opener.document.parentform.parentfield.value = document.popupform.popupfield.value; 

Replace parentform with the name of the form on the parent page, and parentfield with the name of the field in the parent page. Then replace popupform with the name of the form in the popup and popupfield with the name of the field in the popup. 

Then follow that with a self.close() in the function in the popup and the popup will close.
Technical Details
Message-ID: <ef8708b.11@WebX.aaQKaf7vad4>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!195.40.4.120.MISMATCH!easynet-quince!easynet.net!proxad.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <ef8708b.-1@WebX.aaQKaf7vad4>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 101ba1,8e7d271345078d1b
X-Google-Attributes: gid101ba1,public
X-Google-ArrivalTime: 2002-05-10 15:37:30 PST
From: Daverj <dave@anti.spam>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!195.40.4.120.MISMATCH!easynet-quince!easynet.net!proxad.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.golive.windows
Subject: Re: quick question: Will having...
Message-ID: <ef8708b.11@WebX.aaQKaf7vad4>
Date: Fri, 10 May 2002 15:06:43 -0700
References: <ef8708b.-1@WebX.aaQKaf7vad4>
Lines: 15
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit