Bug Tracker

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#7645 closed bug (worksforme)

Child Selector broken in ie7

Reported by: brennanmoore@… Owned by:
Priority: undecided Milestone: 1.6
Component: unfiled Version: 1.4.4
Keywords: Cc:
Blocked by: Blocking:

Description

jQuery('#templates>.bar') fails to select any items in ie7

http://jsfiddle.net/7f8Kw/

works in: Chrome, Firefox 3.5+ (atleast), IE8+ fails in: ie7

Change History (2)

comment:1 Changed 8 years ago by ajpiano

Resolution: worksforme
Status: newclosed

A) It is invalid to have <li> nested as children of a <div> - they must be the children of a <ul> or <ol>

B) Your test case appears to be working for me in IE7.

C) http://jsfiddle.net/7f8Kw/2/

Last edited 8 years ago by ajpiano (previous) (diff)

comment:2 Changed 8 years ago by anonymous

Child selector is working IE7

i have multiple places in my js code where i am iterating through parent > child elements like the following. works well in all other browsers but not in IE7.

$('#reviewDisplayContent > #reviewSummary').each(function () {

code here }

Note: See TracTickets for help on using tickets.