Jump to content

need help for reload of a page...


Vidya_tr

Recommended Posts

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' (this message is displayed using php script).The onclick event of Continue button closes the window .But at the same time I want the Parent window to be reloaded.(that is the window where I have the 'Add video' button)

 

I tried this with 'document.parent.reload()' on the onclick event of 'continue' button. but the parent window is not reloaded..

Is there something that went wrong in this...

 

Please help me.

Link to comment
https://forums.phpfreaks.com/topic/153505-need-help-for-reload-of-a-page/
Share on other sites

hi,

 

may work if you use wndow.opener.location.reload() function before closing the child window.

 

refer this url for more detail..

 

http://forums.devshed.com/javascript-development-115/how-to-refresh-a-parent-window-with-javascript-46942.html

 

wonder if you googled before posting here???

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.