Only 44 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

popup windows  RSS feed

 
mareena
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

thanks
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mareena,
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 window.open() method;


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

That is the basic idea....

Eric
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!