jQuery, remove text from the last child
jquery
Solution
How about not appending >> for the last li
$(".breadCrumbs li:not(:last)").append(" » ");
http://jsfiddle.net/RqWYq/1/
Problem
I have the following breadcrumb set up, how would I go about removing the last » in the list item... Here's my code to adding in the, » but I would like to also remove it from the last item in the list. ``` $(".breadCrumbs li").append(" » "); ``` http://jsfiddle.net/RqWYq/ Thanks