function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
badrul Hassanbadrul Hassan 

My problem is I DON'T WANT TO Refresh MY Parent Page!!!

Can you please solve my PROBLEM :) when i click on commandLink it will display popup window and i select attachment videos and click on Done button. When i click on done button my parent page is refresh and all selected links display on Ckeditor. My problem is I DON'T WANT TO Refresh MY Parent Page!!! Please check my Attachments:-- Thanks in advance

.User-added image
User-added image

User-added image

User-added image

SandhyaSandhya (Salesforce Developers) 

There must be something like below in your child window javascript.
Try to remove that your parent window won't refresh.
    window.onunload = refreshParent;
    function refreshParent() {

The second case as you say its command button "Done" then there might be some code like below in your command button "Done."

Try to change that according to your requirement.
<apex:commandButton onClick="javascript:parent.window.opener.callBackFunction(); return false;" value="Done" />

Hope this helps you!

Please accept my solution as Best Answer if my reply was helpful. It will make it available for other as the proper solution. If you felt I went above and beyond, you can give me kudos.
Thanks and Regards