File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Add items in Drop Down List from a child window to parent window.

 
Khushwinder Chahal
Ranch Hand
Posts: 128
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
In my jsp page i have a hyper link, a text box and an empty drop down list.
On clicking hyper link a child window is open in which i can select some value
and this values pass to the parent window text box and the child window closes.
Now i want to do the same thing with my drop down list. I mean select some value from the child window and then show this in the drop down list. But i m not finding any solution.
If any body has any idea help me.
Thanks in advance.
 
Anirvan Majumdar
Ranch Hand
Posts: 261
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Write a javascript method in the parent window:

In your popup window, before you do window close, pass the values to the parent's script method:

That should do it, I s'pose.
[ January 04, 2008: Message edited by: Anirvan Majumdar ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic