Skip to main content

Bug Tracker

Side navigation

#5737 closed bug (invalid)

Opened December 31, 2009 11:24PM UTC

Closed November 14, 2010 04:17AM UTC

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.

Attachments (0)
Change History (1)

Changed November 14, 2010 04:17AM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

Not a valid bug report.