Win a copy of Terraform in Action this week in the Cloud forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

parent window refresh

 
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Requirement: I have a html page(say Browser1) which opens a small window on click of a button.
I enter few info., in the child window and then click submit. The parent window(Browser1) should get refreshed.
The javascript (onSubmit) i have written in child window for the same looks like this...

This works properly..
Problem:
But if I have another browser window(say Browser 2) open then open the child window from it.. Click on submit of child window.
The "Content_Frame" of Browswer Window 1 is getting refreshed.. which is not acceptable.
The "Content_Frame" of Browser Window 2 should get refreshed since that is the parent of the child window.
Please let me know if you have some inputs.
Thanks in Advance,
Nijeesh.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
try putting opener.refresh(); in the child window window.
 
reply
    Bookmark Topic Watch Topic
  • New Topic