Ticket #5963 (closed bug: invalid)
Attribute Selector Error in Internet Explorer 7/8
|Reported by:||Executter||Owned by:|
The following selector works in every Browser, except IE8 with IE7-Compatibility-Mode:
alert("blah"); return false;
The link in source-code looks like this: <a href="#test">Test/<a>
It produce no errors, but IE is ignoring this event completely. Instead showing the alert-box, IE is opening the link with the parameter "#test".
This selector has been successfully tested in: Firefox 3.6, Opera 9.64 and Chrome 184.108.40.206, but in IE8 it don't work.
To bypass this error I've given the link an Id and used the Id in the selector.
The strange fact is, that another selector with the same syntax works: $("a[href='#produkte']").click(...)
I've attached the whole script to this ticket. Thanks for your attension.