Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

scroll page to top after ajax success

$('body').ajaxSuccess(function() {
  $('html, body').animate({ scrollTop: 0 }, 'slow');
}); 
 
PREVIOUS NEXT
Tagged: #scroll #page #top #ajax #success
ADD COMMENT
Topic
Name
3+2 =