*
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
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "problem in reloading a parent page" Watch "problem in reloading a parent page" New topic
Author

problem in reloading a parent page

Vidya Ramakrishnan
Greenhorn

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
author
Rancher

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

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem in reloading a parent page
 
Similar Threads
Conditionally displaying pop-up based on results of jsf processing. Possible?
How to refresh the parent page when the child window is submitted?
Question on window.opener
parent form reload?
dynamically adding textboxes