[jQuery] IE6, the Starts-with Attribute Selector, and the # Sign

[jQuery] IE6, the Starts-with Attribute Selector, and the # Sign


Hello,
I'm using jquery to grab all of the links in a page to named anchors,
like so:
$("a [href^='#']")
This works fine in Firefox, Safari, and Opera, but not in IE6.
The issue seems to be the pound sign (#), because IE will work fine if
I do something like this:
$("a[href^='/test']")
Am I doing something wrong?
This issue is happening to me with both 1.2.1 and 1.2.2.
Thanks for any help!
Jeff