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

Redirect to section of page

I want to redirect from another page to a section of visuaforce page:

I have used this in vf page(Definition is name of page):

<a href="#top">Go to top</a>

I have used this in the page where the button is located :
<a href="/apex/Definition#top">Test</a>

Even if i paste in address bar : , still is not getting me to the sections .

It is simple in html . I dont know why it is not working on VF pages.

Thanks for looking at my problem
Akshay Deshmukh1Akshay Deshmukh1
Have you given your section Id? e.g. id="test" ?. I think # works with id's. give it a try.