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
TarachandTarachand 

Window popup is not closing in the Salesforce 1

I am opening the window pop up using window.open() and also close the window using window.close(). It is working fine in the Salesforce Classic but not working in the Salesforce 1. Please give any idea.
SandhyaSandhya (Salesforce Developers) 
Hi Tarachand,

Try to use window.top.close  or
window.self.close(); (from below post).

https://developer.salesforce.com/forums/?id=906F000000097crIAA
 
Hope this helps you!

Please mark it as solved if this helps you so that it will make available for other as a proper solution.

Thanks and Regards
Sandhya