append /remove anchor name from current url without refresh
You don’t really need jQuery for that, you can get/set the anchor name using location.hash. If you put it in your jQuery ready function, you can do some action if it’s set to a certain value: $(function(){ // Remove the # from the hash, as different browsers may or may not include it var hash … Read more