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
Srisha PyatiSrisha Pyati 

need

<apex:page standardController="Case" >
    <apex:pageBlock >
    <apex:form >
        
        <apex:commandButton action="window.close()" value="Close" onclick="window.close()"/>
        
    </apex:form>
    
   </apex:pageBlock>
    
    
    
</apex:page>


please help me out what would be missing ..getting error like formula is missing..but it works fine in preview section but not in org..need help with this
mukesh guptamukesh gupta
Hi Srisha,

Please follow below url:-

https://stackoverflow.com/questions/8658586/closing-popup-visualforce-window-after-save


if you need any assistanse, Please let me know!!

Kindly mark my solution as the best answer if it helps you.

Thanks
Mukesh
Srisha PyatiSrisha Pyati
Hi mukesh,

thanks,but working in preview section not in records actually.
Srisha PyatiSrisha Pyati
and it has to kill current window!,,