This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes parent and child page - Refresh Problem? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "parent and child page - Refresh Problem?" Watch "parent and child page - Refresh Problem?" New topic
Author

parent and child page - Refresh Problem?

Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
hi, i have 2 pages, say page1 for parentpage, page2 for childpage(page called from page1 button) , i want to create a button in page2 which when user click on it..it allow to refresh parent page ..how to i do that ?

between, is there any other method to refresh page itself ? as what i know so far by following method



thank you very much for answering !
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15357
    
    6
http://www.google.com/search?sourceid=navclient&ie=UTF-8&q=javascript+refresh+parent
Nipun Seth
Greenhorn

Joined: Dec 15, 2004
Posts: 1
On page 2, on the onClick of the button call a function with the following piece of code written in it :-

parent.window.navigate("//Link of page 1");
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: parent and child page - Refresh Problem?
 
Similar Threads
design issue
Back Button Using Javascript
open a popup window of a pop up window from the parent window
jsp page redirection
Difference Between Client side Redirect and Server Side Redirect