-
Refresh parent page upon closing child with JavaScript
I want to close the child tab and refresh the parent tab scenario.
script
function closeRefresh(){
window.opener.location.href="/{!$CurrentPage.customer.id}";
window.top.close();
}This script is working fine in Chrome but it is not working in IE .In IE the child tab itself refreshing and loading the parent page in the child tab
Log In to reply.
Popular Salesforce Blogs

How To Plan For A Successful Salesforce Data Migration?
This blog on data migration planning features a brief into towards data migration planning process then it focuses on common data migration issues, the extension…

How to Show The Required Fields in Salesforce Picklist Dynamically?
To show the require fields in Salesforce picklist you have to implement these codes in apex class. Apex class: public class objectController { public Map…

Mastering Your Path to Success: Preparing for the Salesforce Admin Certification
Introduction Are you ready to unlock new heights in your career within the dynamic realm of Salesforce administration? Achieving the esteemed title of a certified…
Popular Salesforce Videos
Introduction to Salesforce Function | Evergreen
Introduction to Salesforce Function and Evergreen. Deliver event-driven, connected experience fast. Evergreen: Serverless Functions Check out this video to learn everything you need to know…
How to get a job in Salesforce industry or ecosystem? (For freshers) | 7 Step Guide
The most common question that is asked: How do I get a job? I have learned Salesforce and I know how to create applications on…
All Things Telesales Podcast
Sales Director at Natterbox, Ian Moyse shares with us 3 Powerful Pillars of Servant Leadership - Yearning, Earning, Learning. Ian drops wisdom bombs left and right…