Bug Tracker

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:


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 (575 bytes) - added by simonjs 13 years ago.
Error Test page

Download all attachments as: .zip

Change History (2)

comment:1 Changed 13 years ago by john

Resolution: worksforme
Status: newclosed

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

Changed 13 years ago by simonjs

Attachment: testpage_6019.htm added

Error Test page

Note: See TracTickets for help on using tickets.