Tag Archives: menu

JQuery : Don’t display last | sign (menu separator) in nav menu

When you want to remove / hide | sign (separator) after last menu item while loop, you can do it with jQuery.

$(".nav li:last").html($(".nav li:last").html().replace("|<a/>","<a/>"));