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

parent form reload?

 
Manoj Zachariah
Ranch Hand
Posts: 65
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a page that has an Add button. On clicking that, a child window opens with form. When the child window form is submitted by the user the (child)window should close and the parent form should be reloaded with what ever i inputted in the child window.
How would you set this up?
 
Prakash Dwivedi
Ranch Hand
Posts: 452
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks more like javascript problem, as you would like to handle it on the browser end only(for performance reason).
Are you interested in JSP level solution? (although javascript will still be there)
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64178
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the HTML/Javascript forum.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
on the onload of the pop up you can use this:
window.opener.document.FormName.ElementName.value = document.FormNamePop.ElementNamePop.value;
Eric
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic