How to jump to top of browser page using jQuery?
When the website contains lots of data on a single page and while seeing down the website, if the user wants to see the main content i.e, top of the browser page without scrolling, this can be achieved by using jQuery.
Example: Jump to the top of the browser page
Before clicking on “Scroll to Top”
After clicking on “Scroll to Top”
In the above example, when we click “Scroll to Top” link, it automatically jump to the top of the browser page.