Scroll to a specific position on a page using Javascript / Jquery [duplicate]

After much googling I found that you just need to do this:

location.hash = "elementId"

Leave a Comment