title: How do I prevent the browser from jumping to an anchor when the URL's fragment identifier is changed to it?
body: <blockquote>
  <p><strong>Possible Duplicate:</strong><br />
  <a href="https://stackoverflow.com/questions/1489624/modifying-document-location-hash-without-page-scrolling">Modifying document.location.hash without page scrolling</a></p>
  </blockquote>
  
  <p>I'd like to cancel the event, if possible, but I don't see any precedent for this. Assume for the moment that I'm constrained to using the same string for both my fragment identifier and the name of my anchor. I need to intercept the event and cancel it somehow.</p>
  <p>UPDATE: This is a duplicate of <a href="https://stackoverflow.com/questions/1489624/modifying-document-location-hash-without-page-scrolling">Modifying location.hash without page scrolling</a></p>