Skip to main content

Bug Tracker

Side navigation

#10745 closed bug (wontfix)

Opened November 10, 2011 06:43AM UTC

Closed November 10, 2011 04:15PM UTC

IE7: selector does not work

Reported by: peter.rueedi@goldbachinteractive.ch Owned by:
Priority: low Milestone: None
Component: attributes Version: 1.7
Keywords: Cc:
Blocked by: Blocking:
Description

In IE7 the following selector does not work. No problems in IE8 & IE9: $('A:not([href])')

Attachments (0)
Change History (1)

Changed November 10, 2011 04:15PM UTC by timmywil comment:1

component: unfiledattributes
priority: undecidedlow
resolution: → wontfix
status: newclosed

This is because we use the #2 iFlag in jQuery.attr for getAttribute so we retrieve a raw href identical to user input rather than an href domain-ified or protocol-ified by IE. Unfortunately, that means all anchors have href's in IE6/7 for selectors. It's a tradeoff, but I think the current behavior is the best.