What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-11-12 09:36:11
jquery link click scroll
// Select all links with hashes $('a[href*="#"]') // Remove links that don't actually link to anything .not('[href="#"]') .not('[href="#0"]') .click(function(event) { // On-page links if ( location.pathn... Add solution