Jquery scroll to a div tag
Posted
by strakastroukas
on Stack Overflow
See other posts from Stack Overflow
or by strakastroukas
Published on 2010-06-09T08:18:32Z
Indexed on
2010/06/09
8:22 UTC
Read the original article
Hit count: 280
jQuery
|jquery-ajax
I use the following in order scrolling to top. How could i edit it so the top is set by a div tag?
var pageRequestManager = Sys.WebForms.PageRequestManager.getInstance();
pageRequestManager.add_endRequest(function() {
$('html, body').animate({ scrollTop: 0 }, 'slow');
});
© Stack Overflow or respective owner