Results 1 to 7 of 7

Thread: PopUp to MainWindow

  1. #1
    VBSpike
    Guest

    PopUp to MainWindow

    How would you (in JavaScript) send information from a popUp window to the window that created that popup. After the user enters some data and hits the submit button on the popup window I want the popup window to close and all the data to be passed back to the calling window (or better yet to a brand new one if possible). IHYKWIM.

    Thanks for your help

    Spike

  2. #2
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    What code are you using to create/ popUp the popup?

  3. #3
    VBSpike
    Guest
    Code:
    window.open('ownbudget.htm','popup','width=350,height=525,directories=no,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,resizable=no,screenX=10,screenY=10,top=10,left=10')

  4. #4
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    I think it is hard to reference to the calling window with the popup window

    An alternative method would be to use Cookies?

  5. #5
    Lively Member Base's Avatar
    Join Date
    Aug 2001
    Location
    The Netherlands
    Posts
    65
    That's not that easy you could use a redirect to that calling window and give the required parameters along with it.
    Or what is easier but not advanced is a promt where you ask for direct input.

    Good luck
    Ok

  6. #6
    Fanatic Member PsychoMark's Avatar
    Join Date
    Feb 2001
    Location
    Netherlands
    Posts
    540
    Teaudirenopossum.Musasapientumfixaestinaure.
    (I can't hear you. There's a banana in my ear)

  7. #7
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527

    Thumbs down

    Doesn't work for me...

Posting Permissions

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



Click Here to Expand Forum to Full Width