Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Form submission into parent window ( no frames )

843835May 20 2002 — edited May 20 2002
Hello:

Sorry that this is a little off-topic for this forum, but I had problems finding a decent HTML forum.

My problem is that I want to have a form pop up in a new window when a link is clicked, and submitting this form will make the results appear in the parent window. This last part is what has me stumped; no matter what I do, the results go anywhere but the parent window. This is easy to do using frames, but using frames is not practical in my case.

From what I understand, the "target" attribute of a form must be a named frame in some existing frameset. I tried to use "window.opener", "_parent", "parent", "parent.opener", etc as attributes for the target attribute of the form, but none of them worked. Just to be sure, I reworked it so the parent page was a page using frames, and that worked when I made the target of the form a named frame in the parent.

Does anyone know how to do this with non-frame pages? I just want to click a link, pop up a form in a new window, submit the form and have the results in the original window. This ought to be simple - what am I doing wrong here? Any help would be appreciated.

thanks,
Pat Reaney
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 17 2002
Added on May 20 2002
3 comments
214 views