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') .
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
Thanks Ankit for reply,
I want to show in the pageblock messages,is there any possible way.?
Thanks In Advance
Shark