+ 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