Modify ↓
Ticket #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: | |
| Blocking: | Blocked by: |
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
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.


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