File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes popup windows Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "popup windows" Watch "popup windows" New topic

popup windows


Joined: May 31, 2004
Posts: 9
i have a jsp page which contains a textbox and a button. when i press on the
button i must me show a popup window into the same page. the popup window
populate a combo box and its contains a values and select one value, it shoud be
displays on the textbox. how?

Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
Welcome to the JavaRanch! We don't have many rules around the 'Ranch, but we do require your display name to follow the JavaRanch Naming Policy.
You can change it here.

You can open a window with the method;

from the child window, you can talk to the parent
window.opener.document.FormName.ElementName.value = "blah";

That is the basic idea....

I agree. Here's the link:
subject: popup windows
It's not a secret anymore!