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
SfSharkSfShark 

Vfpage Popup.

Hai frineds,

 

    I want to show Message on Parent page ,when the child page (popup) page closes,PLease help me in this scenario.

 

 

 

Thank u in Advance

 

  Shark

Ankit AroraAnkit Arora

If you are opening the visualforce page on any button click using javascript (window.open) then use window.showModalDialog, it will prevent the execution of next line of javascript till the pop up is closed. After opening this write alert('Your message') .

 

It will be displayed when you close the window.

 

Thanks

Ankit Arora

Blog | Facebook | Blog Page

SfSharkSfShark

Thanks Ankit for reply,

 

       I want to show in the pageblock messages,is there any possible way.?

 

 

Thanks In Advance

  Shark