[jQuery] DOM traversing with 'not'
Greetings, all. I feel really stupid here, but I'm at wit's end. I
want to remove the bottom border from the last LI in all DIVs except
those of class 'features'. I've tried all manner of syntax, to no
avail. Here's what I currently have in place:
$("div:not(.features) li:last-child").css("borderBottom","0");
but this does not exclude the div.features list items as I expected.
Any help greatly appreciated. Thanks!