aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes parent form reload? 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 "parent form reload?" Watch "parent form reload?" New topic
Author

parent form reload?

Manoj Zachariah
Ranch Hand

Joined: Dec 08, 2003
Posts: 65
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

Joined: Sep 28, 2002
Posts: 452
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)


Prakash Dwivedi (SCJP2, SCWCD, SCBCD)
"Failure is not when you fall down, Its only when you don't get up again"
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61766
    
  67

Moving to the HTML/Javascript forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
on the onload of the pop up you can use this:
window.opener.document.FormName.ElementName.value = document.FormNamePop.ElementNamePop.value;
Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: parent form reload?