File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "parent and child page - Refresh Problem?" Watch "parent and child page - Refresh Problem?" New topic

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 allow to refresh parent page 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

Joined: Nov 08, 2001
Posts: 15385
Nipun Seth

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:
subject: parent and child page - Refresh Problem?
jQuery in Action, 3rd edition