View Full Version : writing contents from a popup back to main window

02-25-2003, 12:33 AM
i have a popup window that when you type text into one of the textfields and click the button, the window closes and the contents of that textfield are written into a textfield on the main window.

how do i go about doing this?

02-25-2003, 01:06 AM
nevermind, i just figured it out. for anybody else who needs this information here it is:

function copyForm() {
opener.document.form1.logosm.value = document.form2.filelogosm.value;