wood burning stoves*
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 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

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");
Don't get me started about those stupid light bulbs.
subject: parent and child page - Refresh Problem?