I am opening a POPup window..which i am opening a VF page onlclick of a custom button.I Want to close the child window and redirect the parent window to email author page with some parameters/


I know how to close the child window but can someone tell me to redirect the parent window

 function myClose(){


    //you could also use self.close();    

I would really appreciate.



Try the below code

function myClose(){
| improve this answer | |
  • Thanks Mohith for your comment..But i don't want to refresh the parent window.I want parent window to redirect some other URL.In my case Email Author (Salesforce Standard email functionality) – miku Jun 14 '14 at 19:37
  • 1
    ok so i changed URL in parent location.Hopefully this is what you looking at – Mohith Shrivastava Jun 14 '14 at 19:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.