Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jul 2002
    Location
    Noblesville, IN
    Posts
    94
    Thanks
    0
    Thanked 0 Times in 0 Posts

    writing contents from a popup back to main window

    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?
    Ed Ventura
    Graphic/Web Designer
    www.blackwatercompany.com

  • #2
    New Coder
    Join Date
    Jul 2002
    Location
    Noblesville, IN
    Posts
    94
    Thanks
    0
    Thanked 0 Times in 0 Posts
    nevermind, i just figured it out. for anybody else who needs this information here it is:



    Code:
    	function copyForm() {
    		 opener.document.form1.logosm.value = document.form2.filelogosm.value;
    		 window.close();
    	}
    Ed Ventura
    Graphic/Web Designer
    www.blackwatercompany.com


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •