You need to sign in to do that
Don't have an account?
Thiruchuri Adityan
Close iframe dialog on button click
Hai I have created a custom button for a standard page. And I have written code for that button such that it should open an iframe modal dialog. Now I want to close that dialog throught the button present in the child page. I cant use any parent page methods as parent page is a Standard Salesforce Opportunity View page.
It depends. Are you using any API library such as jQueryUI? If not, have you tried adding an onlcick event to the child button with window.close() in it? Please refer to this thread: http://stackoverflow.com/questions/12382769/how-to-close-iframe-popup-in-html (http://stackoverflow.com/questions/12382769/how-to-close-iframe-popup-in-html" target="_blank)
Regards.
Don't forget to mark your thread as 'SOLVED' with the answer that best helps you.