Skip to main content

Bug Tracker

Side navigation

#7957 closed bug (invalid)

Opened January 12, 2011 05:06PM UTC

Closed January 28, 2011 08:08AM UTC

Last modified March 10, 2012 10:20AM UTC

find returns Failed on IE8 with selector

Reported by: learnerplates Owned by: learnerplates
Priority: undecided Milestone: 1.next
Component: unfiled Version: 1.4.4
Keywords: Cc:
Blocked by: Blocking:
Description

$("#Application-NavBar").find("[id]:visible:enabled");

returns Failed on IE8 and returns a result on Chrome.

The following also fails

$(self.handle()).find("[id]:visible:enabled");

self.handle() is part of a form.

Attachments (0)
Change History (5)

Changed January 12, 2011 08:25PM UTC by addyosmani comment:1

owner: → learnerplates
status: newpending

Thanks for submitting a ticket to the jQuery Bug Tracker!

In order for us to fully evaluate the bug you are experiencing, please provide us a reduced test case that reproduces this behavior on http://jsfiddle.net.

Changed January 13, 2011 09:31AM UTC by niall <nfallon@avaeon.com> comment:2

the is() function works with the same selectors after I have executed a find using the "[id]" selector. This proves to me that the query is correct, Find() is where the issue lies on IE8.

var found = [];

$.each($(self.handle()).find("[id]"), function (index, value) {

if ($(value).is(":visible:enabled"))

found.push(value);

}

);

Changed January 13, 2011 11:54AM UTC by niall <nfallon@avaeon.com> comment:3

workaround for now is

($(self.handle()).find("[id]").filter(":visible:enabled"));

Changed January 13, 2011 12:38PM UTC by jitter comment:4

As already noted by addyosmani. In order for us to fully evaluate the bug you are experiencing, please provide us a reduced test case that reproduces this behavior on http://jsfiddle.net (html/css/js)

Changed January 28, 2011 08:08AM UTC by trac-o-bot comment:5

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!