This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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 | 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: 15376
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");
GeeCON Prague 2014
subject: parent and child page - Refresh Problem?