Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js navigate to anchor

function scrollTo(hash) {
    location.hash = "#" + hash;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #navigate #anchor
ADD COMMENT
Topic
Name
3+1 =