I have a button that on clicking calls a webservice and displays a list of record below that button. I'm trying to scroll down to the bottom most part of the visualforce page, everytime the button is clicked. Any reference would be helpful. Thanks

1 Answer 1


Quick javascript function to do this:


where the parameters are the coordinates for x and y, respectively.

Documentation of the function: Window.scrollTo()

Not the answer you're looking for? Browse other questions tagged or ask your own question.