Bug Tracker

Modify

Ticket #7645 (closed bug: worksforme)

Opened 2 years ago

Last modified 20 months ago

Child Selector broken in ie7

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

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

comment:1 Changed 2 years ago by ajpiano

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

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 2 years ago by ajpiano (previous) (diff)

comment:2 Changed 20 months 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 }

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.