This should do it:
$('.main-bottom-menu li:last').html('');
According to this question, he doesn't want to remove the div, he just wants to empty it. The above code should do it.
Question
$('.main-bottom-menu li').after('<div style="float: left;">//</div>');
$('.main-bottom-menu li:last').after('');
but it doesn't clear //
after last li element. How can i remove //
after li:last element?
No correct solution
OTHER TIPS
This should do it:
$('.main-bottom-menu li:last').html('');
According to this question, he doesn't want to remove the div, he just wants to empty it. The above code should do it.