aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes problem in reloading a parent page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "problem in reloading a parent page" Watch "problem in reloading a parent page" New topic

problem in reloading a parent page

Vidya Ramakrishnan

Joined: Jul 08, 2008
Posts: 14
I have a page where there is a button called 'Add video' .Clicking this button opens another window to upload the video . After upload button is pushed this new window displays 'the file has been uploaded' with a 'Continue button' .The onclick event of Continue button closes the window .But at the same time I want the window where I have the 'Add video' button to be reloaded.

I tried this with 'document.parent.reload()' on the onclick event of 'continue' button. but the reqired window is not reloaded..
Is there something that went wrong in this.

Please help me.
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15383
parent is for frames, you need to use window.opener

It is sorta covered in the JavaRanch Style Guide.
subject: problem in reloading a parent page