Bug Tracker

Opened 14 years ago

Closed 12 years ago

#4863 closed bug (worksforme)

:contains doesn't work with class selectors in IE

Reported by: jakeking Owned by: john
Priority: major Milestone: 1.4
Component: selector Version: 1.3.2
Keywords: contains selector internet explorer IE Cc:
Blocked by: Blocking:


Consider the following line of markup:

<a class='location' style='text-decoration:underline'>Aurora, CO</a>

I should be able to select this with a class selector like so:


This works in Firefox, but in IE 7 and 8 I get the generic error: "Object doesn't support this property or method."

My current workaround is to include the tag in the selector:


Change History (2)

comment:1 Changed 14 years ago by jerone

I can't confirm this in any browser: http://jsbin.com/atenu

comment:2 Changed 12 years ago by dmethvin

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.