Hack to stop ‘Page to Top’ when clicking placeholder link

In an effort to stop the 'Page to Top' behavior after clicking a link when there's a placeholder <a href="#", I found people suggesting you add an exclamation point to the code like so, <a href="#!"  Much to my surprise, the hack does seem to work.  Not sure what the downside is for doing it this way, but always good to know it's a possibility!

Leave a Reply

Your email address will not be published. Required fields are marked *