Bug Tracker

Modify

Ticket #5737 (closed bug: invalid)

Opened 3 years ago

Last modified 3 years ago

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:
Blocking: Blocked by:

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

comment:1 Changed 3 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

Not a valid bug report.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.