Just taken us all morning to track down a bug that only happened in IE8. Turns out that selectors on hrefs don’t work in IE8, so these don’t work:
$('a href="#anchor"]')
$('a href$="#anchor"]')
We tried the latter to get round the issue reported in this post, but no luck.
Looking to upgrade all the code to jQuery 1.7.1 this afternoon, so will let you know if this fixes it.