#hash tag

Force Reload on a Hash or Anchor Change with JQuery

I had a JQuery function that detected if there was a hash/anchor tag appended to the loaded URL.  If there was, it would scroll to the anchor tag on the page. This was the function: $(document).ready(function() { var hash = window.location.hash; if(hash) { $('html,body').animate({scrollTop:...