jquery go anchor code example Example: go to anchor jquery $('html,body').animate({ scrollTop: $("#anchor").offset().top }, 'slow');