This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes JSP and the fly likes No javascript for child windows. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Reply locked New topic

No javascript for child windows.

Salman Moha

Joined: Jul 19, 2005
Posts: 12


I am working on a web application where I am using parent/child windows. My application has one main window and some buttons like for adding new record, modifying new record etc. When user clicks on any button a child window opens where user enters data and upon clicking save/update button there, the page gets submitted within the child window giving him message whether save/update is successful or not. Now when he closes the child window I would like to refresh the parent window which maintains list of added records. Note that child window is not a modal window and resubmission of page is happening within the window.

I am not allowed to use any sort of JAVASCRIPT that keeps in trance.
Please help.
I have to use a formhandler to check in the form data in child window too.
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
Three is a charm. Do not cross post, it makes you look bad and people waste their time answer questiosn that were already answered. If it is in the wrong forum we move it.

Answer here

Not here

I agree. Here's the link:
subject: No javascript for child windows.
It's not a secret anymore!