+ 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 : https://c.na35.visual.force.com/apex/Definition?#test , 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.