This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

parent form reload?

 
Manoj Zachariah
Ranch Hand
Posts: 65
  • 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
  • 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: 64629
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the HTML/Javascript forum.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic