I've worked on a clean solution for this a while ago: http://haineault.com/blog/37/
The examples above might not be up to date since the code has changed a bit since then: http://code.google.com/p/jquery-utils/wiki/AnchorHandler Code: http://code.google.com/p/jquery-utils/source/browse/trunk/src/jquery.anchorHandler.js Cheers On Sep 24, 4:09 pm, mario <[EMAIL PROTECTED]> wrote: > Hi, > > I was just wondering if there is anyway to listen for changes on the > location bar when a link sets an anchor on the same page. > > Example: > > current location:www.something.com/ > > I click on a link and it takes me to: > > www.something.com/#someanchor > > Is there anyway to listen for this change/event with jquery?