when a link is at the bottom of the browser window and user click it to show some content, I would like the browser to scroll down so that the shown content is located at the top of the window to be visible. how to do this in jquery?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use plain javascript to do this.
Use scrolIntoView function.