Javascript method scrollintoview()


Sometime back I was working on a web application during my training in which I had to put a functionality on a certain page of the web app where when a  button was clicked the page should automatically scroll/navigate to a certain place on the same page.

So, after searching a lot for Javascript function, I came across “scrollintoview()” method. This method can be used to perform this sort of a functionality.

So, please find the link of the Mozilla Developer Network (MDN) which explains this method in detail with example and helped me also in solving the problem.

Enjoy Learning 🙂

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s