My Requirement is when we click on edit button open child visualforce page as modal window when we save that record close that modal window and refrsh parent page.

function closeAndRefresh(){
  opener.location.reload(); // or opener.location.href = opener.location.href;
  window.close(); // or self.close();

This will work for you.

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