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
Pankaj_GanwaniPankaj_Ganwani 

Autoscrolling on inline vf page after page reload

When I click on the command link present on inline vf page, my action function is called which in turn calls the controller method. In onComplete attribute, I am reloading the parent using window.parent.location.href = '/'+{!opportunityId}+'#divName'.

Here divName denotes the section in inline vf page where I want to bring focus(autoscrolling) after page reload, but it does not working.

Any suggestions? Thanks in advance