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
    Aug 2002
    Location
    Slidell, Louisiana
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Submitting forms to different window

    Scenerio :

    I have a document which contains a frameset with two frames. In the top frame, I'm poping open a new window with a form in it. I want that form to submit it's contents to the window/frame that opened the new window. I have tried to target the frame to "JavaScript:window.opener", but that just opens a new window. I think this is possible (I've seen forms in new windows post to the opener, but never to a frame in the opener).

  • #2
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,037
    Thanks
    0
    Thanked 250 Times in 246 Posts
    in your pop up page:
    <form .... target="NameOfFrameHere">

  • #3
    New to the CF scene
    Join Date
    Aug 2002
    Location
    Slidell, Louisiana
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Well I'll be damned. Here I am trying to use all this fancy JavaScript to do it, and plain ole HTML does the trick. I never even thought to try it since the form was in a spawned window of the frameset. Thanks dude, worked like a charm.


  •  

    Posting Permissions

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