Opened 13 years ago
Closed 13 years ago
#6019 closed bug (worksforme)
(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)
Note: See
TracTickets for help on using
tickets.
I can't duplicate this - do you have a demo page?