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

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



Ankit AroraAnkit Arora

If you are opening the visualforce page on any button click using javascript ( 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.



Ankit Arora

Blog | Facebook | Blog Page


Thanks Ankit for reply,


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



Thanks In Advance