How to scroll an HTML page to a given anchor

function scrollTo(hash) {
    location.hash = "#" + hash;
}

No jQuery required at all!

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)