Bug Tracker

Opened 10 years ago

Closed 9 years ago

#5737 closed bug (invalid)

Complex selectors problems w/ IE8

Reported by: lesv Owned by: john
Priority: major Milestone: 1.4
Component: selector Version: 1.3.2
Keywords: SELECTOR Cc:
Blocked by: Blocking:

Description

Using 1.3.2 w/ UI 1.7.2

I have two forms that are each loaded as AJAX Tabs using JQUI. Each Form has a unique name/ID. I also have an SELECT element ID #islnd on both of them. In FF, this works fine, and I can use the statement below to access it.

var theIsland = $("div.ui-tabs-panel:not(.ui-tabs-hide) #islnd");

In IE8, however, I can access the first one using the statement above, but not the second, it returns something weird. (No parents, children, etc, length=0). If I use a selector that get's it's children, then ask for the parent, I get the right thing. (Below)

var theIsland = $("div.ui-tabs-panel:not(.ui-tabs-hide) #islnd > option").parent(); Work around a bug in IE.

I'm doing all this during a JQUI show event of the tab.

Change History (1)

comment:1 Changed 9 years ago by dmethvin

Resolution: invalid
Status: newclosed

Not a valid bug report.

Note: See TracTickets for help on using tickets.