Skip to main content

Bug Tracker

Side navigation

#6019 closed bug (worksforme)

Opened February 03, 2010 12:18PM UTC

Closed February 03, 2010 07:45PM UTC

(parent > child) selector not working correctly

Reported by: simonjs Owned by: john
Priority: minor Milestone: 1.4.2
Component: selector Version: 1.4.1
Keywords: .after(), parent, child Cc:
Blocked by: Blocking:
Description

In certain circumstances the (parent > child) selector doesn't seem to be functioning correctly.

For example:

$('#footer ul > li').after(' | ');

Firebug reports an error:

"uncaught exception: Syntax error, unrecognized expression: | "

however this is fine:

$('#footer ul li').after(' | ');

but obviously the rule is applied to all child list-items too, which is not the desired result.

Attachments (1)
  • testpage_6019.htm (0.6 KB) - added by simonjs February 18, 2010 09:39AM UTC.

    Error Test page

Change History (1)

Changed February 03, 2010 07:45PM UTC by john comment:1

resolution: → worksforme
status: newclosed

I can't duplicate this - do you have a demo page?