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
Manjunath BNManjunath BN 

Focus on current section when page is reloaded

HI all,

I have created a VF page which have many sections. When ever the page is reloaded, the focus goes to the first section instead of the current section.

How to fix this issue?

Thanks in advance...




I think, This problem will occur while calling some actions through commandbutton or commandlink.


you can solve this issue using <apex:actionregion> and rerender options.





<apex:commandbutton action="{!save}" rerendered="id1" />


<apex:pageblock id="id1">







Salesforce certified developer

MetaSoftTech Solutions