adspace


how to Auto Scroll the page

Answer Posted / Nisha Srivastava

You can use the `window.scrollTo()` method in JavaScript to scroll the page horizontally or vertically. Here's an example:n```javascriptn// Scroll to the top of the page:nwindow.scrollTo(0, 0);n// Scroll 100 pixels down:nwindow.scrollBy(0, 100);```

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

code to sorting an array of objects

2572