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 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Nov 2003
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Internet Explorer How to Pass Values from one Window to Another?

    Hello all,

    I have a form on the "main" window
    that needs to be filled with the customer
    information, I wold like to open another window
    that the user can search and select the customer
    from the list and submit the information to the "main" window.

    Where can I find a tutorial for this?

    Thanks in advance...

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    window.opener from the "popup" window will be a reference to the window object of the "main" window. From there you can set any value in any variable or form field in the main window.

    So "window.opener.document.forms.myform.myfield.value" would be the reference to "myfield" of form "myform" in the main window.
    Check out the Forum Search. It's the short path to getting great results from this forum.

  • #3
    New to the CF scene
    Join Date
    Nov 2003
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thanks, works fine.



  •  

    Posting Permissions

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