What will be the result of execution following code snippet?

$(wіndоw).scrollTоp(50);
Explanation
The scrollTop() method sets or returns the vertical scrollbar position for the selected elements. In our code example, the vertical scroll position will be set to 50px from top of the page.

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Cosmo
Sign Up Now
or Subscribe for future quizzes