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
Rohit K SethiRohit K Sethi 

Refresh parent page from new window of details page button.

Hi All,

I have a requirement that, i need to be open a new window from detail page button.
And that opened window contains a update button. And when click on update button i want to reload previous page from its opened.

Example :
Suppose I created the detail page button on account and that open the visualforce page and after click on 
update button i want to reload the account.

Please guide me ,how can we achive this requirement.

Thanks.
Edwin VijayEdwin Vijay
If you mean you want to open a popup window and then refresh the parent window on clicking a button on the pop up window, then this line of code would help

window.opener.location.reload();