Skip to main content

Bug Tracker

Side navigation

#7126 closed bug (duplicate)

Opened October 07, 2010 04:15PM UTC

Closed October 07, 2010 10:00PM UTC

.parents('[attribute*=value]') doesn't work with style attribute

Reported by: pejovica Owned by:
Priority: undecided Milestone: 1.4.3
Component: traversing Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:
Description

I was trying to match a div with '''.parents('[style*=opacity]') but I was getting back an empty array, although the div was definitely there.

Firebug showed that jQuery is comparing "opacity" with "[object CSSStyleDeclaration]"''' instead of the text content of style attribute.

Attachments (0)
Change History (1)

Changed October 07, 2010 10:00PM UTC by snover comment:1

resolution: → duplicate
status: newclosed

Duplicate of #3399.