Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (13.1k points)
Can anyone help me how I can able to scroll hotmail signup page using JavaScript? I have tried with ScrollTo but it doesn't work. Any help would be appreciated.

1 Answer

0 votes
by (26.7k points)

Basically, scrollTo is not attached to the window element. You can use the below command:

var el = document.getElementById('c_base');

el.scrollTop = 300;

I hope this will help.

Want to become a Java expert? Join Java Training now!!

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Browse Categories

...