adsense

Thursday, September 10, 2015

Scroll to a specified target using jQuery

There may be situations where you need to scroll a page or element to a specified target. jQuery provides .scrollTo() method to achieve the desired functionality.

This method is built in from jQuery v 1.9.X. If you want to use it in an earlier version of jQuery, you can use an extension method.

Read here for more information.

Cheers,
Samitha