This seems like somebody should have come across this bug before, but my searches haven't turned up anything...
So I'm working on a Drupal application, and when I hit a URL on it, for example at http://localhost/node/13, jquery loads up fine, document.ready() fires, and all the jQuery goodness is on the page. Here's a little html snippet: .... <body> <a name="top"/> .... .... .... <a href="#top">goto top of page</a> .... if I click on the 'goto top of page' link, everything that's done in the document.ready() function is lost, and there's no more jQuery goodness on my page. Also, if I hit http://localhost/node/13#top, the document.ready() function doesn't fire also. Can somebody point me in the right direction on how to fix this? Thanks!