Scroll to Page Location upon Completion of Ajax Request – jQuery

-- 2016-06-07 --
$(document).ajaxComplete(function() {
  // First we get the position of the ID we want
  var topLocation = $('#copy-link').position().top;
  // Then we scroll to it!
  $('html,body').animate({ scrollTop: topLocation }, 1000);
});

-- Cameron Eckelberry