Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

parent and child page - Refresh Problem?

 
Alvin chew
Ranch Hand
Posts: 834
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
 
Nipun Seth
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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");
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic